<p>In <a href="https://github.com/mlpack/mlpack/pull/694#discussion_r70024988">src/mlpack/methods/preprocess/preprocess_imputer_main.cpp</a>:</p>
<pre style='color:#555'>> +using namespace std;
> +using namespace data;
> +
> +int main(int argc, char** argv)
> +{
> + // Parse command line options.
> + CLI::ParseCommandLine(argc, argv);
> +
> + const string inputFile = CLI::GetParam<string>("input_file");
> + const string outputFile = CLI::GetParam<string>("output_file");
> + const string missingValue = CLI::GetParam<string>("missing_value");
> + const double customValue = CLI::GetParam<double>("custom_value");
> + const size_t dimension = (size_t) CLI::GetParam<int>("dimension");
> + string strategy = CLI::GetParam<string>("strategy");
> +
> + // missing value should be specified
</pre>
<p>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/a8818316a04506530e2269a2e0a32ba2f6a1c83b#r70024988">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFIZZ4WSCEHjCcMOE6U7wpU2MK2neks5qTdcKgaJpZM4I07W-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFLwLFRjkZfAR25Kyvi4bUSeAn-TPks5qTdcKgaJpZM4I07W-.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/a8818316a04506530e2269a2e0a32ba2f6a1c83b#r70024988"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>