[mlpack-git] [mlpack] Update GetParam<>(parameterName) per marcos (#505)
Andy Fang
notifications at github.com
Thu Jan 21 22:10:12 EST 2016
```c++
PARAM_STRING("input_model_file", "File containing existing model (parameters).",
"m", "");
PARAM_STRING("output_model_file", "File to save trained logistic regression "
"model to.", "M", "");
```
v.s.
```c++
const string inputModelFile = CLI::GetParam<string>("input_model");
const string outputModelFile = CLI::GetParam<string>("output_model");
```
You can view, comment on, or merge this pull request online at:
https://github.com/mlpack/mlpack/pull/505
-- Commit Summary --
* Update GetParam<>(parameterName) per marcos
-- File Changes --
M src/mlpack/methods/logistic_regression/logistic_regression_main.cpp (4)
-- Patch Links --
https://github.com/mlpack/mlpack/pull/505.patch
https://github.com/mlpack/mlpack/pull/505.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/505
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160121/a9127083/attachment.html>
More information about the mlpack-git
mailing list