.\" Text automatically generated by txt2man .TH mlpack_preprocess_imputer 1 "12 December 2020" "mlpack-3.4.2" "User Commands" .SH NAME \fBmlpack_preprocess_imputer \fP- impute data .SH SYNOPSIS .nf .fam C \fBmlpack_preprocess_imputer\fP \fB-i\fP \fIstring\fP \fB-m\fP \fIstring\fP \fB-s\fP \fIstring\fP [\fB-c\fP \fIdouble\fP] [\fB-d\fP \fIint\fP] [\fB-V\fP \fIbool\fP] [\fB-o\fP \fIstring\fP] [\fB-h\fP \fB-v\fP] .fam T .fi .fam T .fi .SH DESCRIPTION This utility takes a dataset and converts a user-defined missing variable to another to provide more meaningful analysis. .PP The program does not modify the original file, but instead makes a separate file to save the output data; You can save the output by specifying the file name with'\fB--output_file\fP (\fB-o\fP)'. .PP 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.csv', and save the result to 'result.csv', we could run : .PP $ mlpack_mlpack_preprocess_imputer \fB--input_file\fP dataset \fB--output_file\fP result \fB--missing_value\fP NULL \fB--dimension\fP 0 \fB--strategy\fP listwise_deletion .RE .PP .SH REQUIRED INPUT OPTIONS .TP .B \fB--input_file\fP (\fB-i\fP) [\fIstring\fP] File containing data. .TP .B \fB--missing_value\fP (\fB-m\fP) [\fIstring\fP] User defined missing value. .TP .B \fB--strategy\fP (\fB-s\fP) [\fIstring\fP] imputation strategy to be applied. Strategies should be one of 'custom', 'mean', 'median', and 'listwise_deletion'. .SH OPTIONAL INPUT OPTIONS \fB--custom_value\fP (\fB-c\fP) [\fIdouble\fP] User-defined custom imputation value. Default value 0. .TP .B \fB--dimension\fP (\fB-d\fP) [\fIint\fP] The dimension to apply imputation to. Default value 0. .TP .B \fB--help\fP (\fB-h\fP) [\fIbool\fP] Default help info. .TP .B \fB--info\fP [\fIstring\fP] Print help on a specific option. Default value ''. .TP .B \fB--verbose\fP (\fB-v\fP) [\fIbool\fP] Display informational messages and the full list of parameters and timers at the end of execution. .TP .B \fB--version\fP (\fB-V\fP) [\fIbool\fP] Display the version of mlpack. .SH OPTIONAL OUTPUT OPTIONS .TP .B \fB--output_file\fP (\fB-o\fP) [\fIstring\fP] File to save output into. Default value ''. .SH ADDITIONAL INFORMATION For further information, including relevant papers, citations, and theory, consult the documentation found at http://www.mlpack.org or included with your distribution of mlpack.