<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'>&gt; +
&gt; +namespace mlpack {
&gt; +namespace data {
&gt; +
&gt; +/**
&gt; + * This class implements a way to replace target values. It is dependent on the
&gt; + * user defined StrategyType and MapperType used to hold dataset&#39;s information.
&gt; + *
&gt; + * @tparam Option of imputation strategy.
&gt; + * @tparam MapperType that is used to hold dataset information.
&gt; + * @tparam primitive type of input and output&#39;s armadillo matrix.
&gt; + */
&gt; +template&lt;typename T, typename MapperType, typename StrategyType&gt;
&gt; +class Imputer
&gt; +{
&gt; + 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;">&mdash;<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>