[mlpack-git] [mlpack/mlpack] A tiny bug in client (#697)
cypro666
notifications at github.com
Wed Jun 15 00:31:26 EDT 2016
My version of mlpack is 2.0.1 git-4fa39b6:
When I run mlpack_softmax_regression like:
~/mlpack/build$ ./bin/mlpack_softmax_regression -t iris.csv -l iris_labels.txt --output_model_file o.csv
[WARN ] None of --output_model, --test_labels, or --predictions_file are set; no results from this program will be saved.
# nothing more....
In line 46 of softmax_regression_main.cpp , `output_model_file` was registed as an arg name,
but in line 24 and line 113 and 137 lost the `_file` suffix!!!
```
PARAM_STRING("input_model_file", "File containing existing model (parameters).", "m", "");
const string outputModelFile = CLI::GetParam<string>("output_model") ...
data::Save(CLI::GetParam<std::string>("output_model") ...
```
In fact `input_model` has the same problem.
My version of boost::program_options is 1.58
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/697
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160614/672aa299/attachment.html>
More information about the mlpack-git
mailing list