<p>In <a href="https://github.com/mlpack/mlpack/pull/694#discussion_r70025047">src/mlpack/methods/preprocess/preprocess_imputer_main.cpp</a>:</p>
<pre style='color:#555'>> + "separate file to save the output data; The program requires you to "
> + "specify the file name with --output_file (-o)."
> + "\n\n"
> + "For example, if we consider 'NULL' in dimension 0 to be a missing "
> + "variable and want to delete whole row containing the NULL in the "
> + "column-wise dataset, and save the result to result.csv, we could run"
> + "\n\n"
> + "$ mlpack_preprocess_imputer -i dataset.csv -o result.csv -m NULL -d 0 \n"
> + "> -s listwise_deletion")
> +
> +PARAM_STRING_REQ("input_file", "File containing data,", "i");
> +PARAM_STRING("output_file", "File to save output", "o", "");
> +PARAM_STRING("missing_value", "User defined missing value", "m", "")
> +PARAM_STRING("strategy", "imputation strategy to be applied", "s", "")
> +PARAM_DOUBLE("custom_value", "user_defined custom value", "c", 0.0)
> +PARAM_INT("dimension", "the dimension to apply imputation", "d", 0);
</pre>
<p>Updated so that when --dimension is not specified, the program applies the imputation strategy to all dimensions.</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#r70025047">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFObgp7nU-KnOMfJWTeSuZA1Postdks5qTddRgaJpZM4I07W-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFN5j9d9zDgaytwXsFrsd8W99d5Ijks5qTddRgaJpZM4I07W-.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#r70025047"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>