<p>In <a href="https://github.com/mlpack/mlpack/pull/694#discussion_r68394307">src/mlpack/core/data/imputer.hpp</a>:</p>
<pre style='color:#555'>> +
> +namespace mlpack {
> +namespace data {
> +
> +/**
> + * This class implements a way to replace target values. It is dependent on the
> + * user defined StrategyType and MapperType used to hold dataset's information.
> + *
> + * @tparam Option of imputation strategy.
> + * @tparam MapperType that is used to hold dataset information.
> + * @tparam primitive type of input and output's armadillo matrix.
> + */
> +template<typename T, typename MapperType, typename StrategyType>
> +class Imputer
> +{
> + public:
</pre>
<p>Could we offer another api, let the users store the StrategyType too?Maybe in some cases, users need to setup some parameters of the StrategyType </p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/694/files/d8618ec909005b0453f0a3803ac1e6cc5e588f1f#r68394307">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFIOBmSC9wiuc6E6m3VuY_SzwpnNJks5qO9U4gaJpZM4I07W-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPsys3_d-J77cRFJFIxV0yxJorK8ks5qO9U4gaJpZM4I07W-.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/694/files/d8618ec909005b0453f0a3803ac1e6cc5e588f1f#r68394307"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>