<p>In <a href="https://github.com/mlpack/mlpack/pull/694#discussion_r66958936">src/mlpack/methods/preprocess/preprocess_imputer_main.cpp</a>:</p>
<pre style='color:#555'>> + const size_t feature = (size_t) CLI::GetParam<int>("feature");
> + string imputeStrategy = CLI::GetParam<string>("impute_strategy");
> +
> + // missing value should be specified
> + if (!CLI::HasParam("missing_value"))
> + Log::Fatal << "--missing_value must be specified in order to perform "
> + << "any imputation strategies." << endl;
> +
> + // warn if user did not specify output_file
> + if (!CLI::HasParam("output_file"))
> + Log::Warn << "--output_file is not specified, no "
> + << "results from this program will be saved!" << endl;
> +
> + // if custom value is specified, and imputation strategy is not,
> + // set imputation strategy to "custom"
> + if (CLI::HasParam("custom_value") && !(imputeStrategy == "custom"))
</pre>
<p><a href="https://github.com/stereomatchingkiss" class="user-mention">@stereomatchingkiss</a> you are right, it is now updated :)</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#r66958936">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFD1RFj5vk0niB-t1NxbV96N6sizoks5qLp1bgaJpZM4I07W-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFGzngQf9XI21P8LoqmkajzFshz7Gks5qLp1bgaJpZM4I07W-.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#r66958936"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>