<p>In <a href="https://github.com/mlpack/mlpack/pull/694#discussion_r66954641">src/mlpack/core/data/impute_strategies/custom_strategy.hpp</a>:</p>
<pre style='color:#555'>> +#include <mlpack/core.hpp>
> +
> +
> +using namespace std;
> +
> +namespace mlpack {
> +namespace data {
> +
> +class CustomStrategy
> +{
> + // empty class
> +};
> +
> +} // namespace data
> +} // namespace mlpack
> +
</pre>
<p>it is used for calling a overload of <a href="https://github.com/keonkim/mlpack/blob/5a517c25ef55de1f4814dc3605190d17f868ff82/src/mlpack/core/data/imputer.hpp#L86">Imputer::impute()</a>, which lets users to define a number that takes place of the missing value.</p>
<p>It basically does nothing but to fill the place of the template parameter.<br>
It is used like <a href="https://github.com/keonkim/mlpack/blob/5a517c25ef55de1f4814dc3605190d17f868ff82/src/mlpack/methods/preprocess/preprocess_imputer_main.cpp#L101">this</a>. but I was not clear how to make this clean.</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/5a517c25ef55de1f4814dc3605190d17f868ff82#r66954641">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFLGaXEj11KTtCSCki5lNA8Yayyx4ks5qLpWEgaJpZM4I07W-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFNsIf8GGASJOuwwmTOztWRz0Thxhks5qLpWEgaJpZM4I07W-.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/5a517c25ef55de1f4814dc3605190d17f868ff82#r66954641"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>