1mlpack_preprocess_imputer(1)General Commands Manualmlpack_preprocess_imputer(1)
2
3
4
6 mlpack_preprocess_imputer - impute data
7
9 mlpack_preprocess_imputer [-h] [-v]
10
12 This utility takes a dataset and converts user defined missing variable
13 to another to provide more meaningful analysis
14
15 The program does not modify the original file, but instead makes a sep‐
16 arate file to save the output data; You can save the output by specify‐
17 ing the file name with --output_file (-o).
18
19 For example, if we consider 'NULL' in dimension 0 to be a missing vari‐
20 able and want to delete whole row containing the NULL in the column-
21 wise dataset, and save the result to result.csv, we could run
22
23 $ mlpack_preprocess_imputer -i dataset.csv -o result.csv -m NULL -d 0 >
24 -s listwise_deletion
25
27 --input_file (-i) [string]
28 File containing data,
29
31 --custom_value (-c) [double] user_defined custom value Default value 0.
32
33 --dimension (-d) [int]
34 the dimension to apply imputation Default value
35
36 0.
37
38
39 --help (-h)
40 Default help info.
41
42 --info [string]
43 Get help on a specific module or option. Default value ''.
44 --missing_value (-m) [string] User defined missing value Default
45 value ''.
46
47 --strategy (-s) [string]
48 imputation strategy to be applied. Strategies should be one of
49 'custom', 'mean', 'median', and ’listwise_deletion'. Default
50 value ''.
51
52 --verbose (-v)
53 Display informational messages and the full list of parameters
54 and timers at the end of execution.
55
56 --version (-V)
57 Display the version of mlpack.
58
60 --output_file (-o) [string]
61 File to save output Default value ''.
62
65 For further information, including relevant papers, citations, and the‐
66 ory, For further information, including relevant papers, citations, and
67 theory, consult the documentation found at http://www.mlpack.org or
68 included with your consult the documentation found at
69 http://www.mlpack.org or included with your DISTRIBUTION OF MLPACK.
70 DISTRIBUTION OF MLPACK.
71
72
73
74 mlpack_preprocess_imputer(1)