[mlpack-git] master: fix PARAM statements in imputer (5eb9abd)

gitdub at mlpack.org gitdub at mlpack.org
Fri Jul 22 11:24:51 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/ecbfd24defe31d9f39708c0b4c6ad352cd46ed5c...7eec0609aa21cb12aeed3cbcaa1e411dad0359f2

>---------------------------------------------------------------

commit 5eb9abdca9f82a6cb6e3c54c5aa7647c53f464a4
Author: Keon Kim <kwk236 at gmail.com>
Date:   Fri Jul 22 23:59:48 2016 +0900

    fix PARAM statements in imputer


>---------------------------------------------------------------

5eb9abdca9f82a6cb6e3c54c5aa7647c53f464a4
 .../methods/preprocess/preprocess_imputer_main.cpp       | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/mlpack/methods/preprocess/preprocess_imputer_main.cpp b/src/mlpack/methods/preprocess/preprocess_imputer_main.cpp
index c25f3a9..2863b3e 100644
--- a/src/mlpack/methods/preprocess/preprocess_imputer_main.cpp
+++ b/src/mlpack/methods/preprocess/preprocess_imputer_main.cpp
@@ -27,14 +27,14 @@ PROGRAM_INFO("Impute Data", "This utility takes a dataset and converts user "
     "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);
+    "> -s listwise_deletion");
+
+PARAM_STRING_IN_REQ("input_file", "File containing data,", "i");
+PARAM_STRING_OUT("output_file", "File to save output", "o");
+PARAM_STRING_IN("missing_value", "User defined missing value", "m", "");
+PARAM_STRING_IN("strategy", "imputation strategy to be applied", "s", "");
+PARAM_DOUBLE_IN("custom_value", "user_defined custom value", "c", 0.0);
+PARAM_INT_IN("dimension", "the dimension to apply imputation", "d", 0);
 
 using namespace mlpack;
 using namespace arma;




More information about the mlpack-git mailing list