[mlpack-git] master: Fix parameter name issues. (fe6ad34)
gitdub at mlpack.org
gitdub at mlpack.org
Wed Jul 13 15:57:43 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/59bc0b32630a3ad786706993f4d5e8b087f1c702...0d9a0e263a32b99d8dcf5d2723b3b92c67e669fc
>---------------------------------------------------------------
commit fe6ad34f7f4994ab82a2b032a004775e2705be0b
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Jul 13 15:57:43 2016 -0400
Fix parameter name issues.
>---------------------------------------------------------------
fe6ad34f7f4994ab82a2b032a004775e2705be0b
src/mlpack/methods/gmm/gmm_probability_main.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mlpack/methods/gmm/gmm_probability_main.cpp b/src/mlpack/methods/gmm/gmm_probability_main.cpp
index 0361f53..4c53bdc 100644
--- a/src/mlpack/methods/gmm/gmm_probability_main.cpp
+++ b/src/mlpack/methods/gmm/gmm_probability_main.cpp
@@ -30,7 +30,7 @@ int main(int argc, char** argv)
const string inputFile = CLI::GetParam<string>("input_file");
const string inputModelFile = CLI::GetParam<string>("input_model_file");
- const string outputFile = CLI::GetParam<string>("input_model_file");
+ const string outputFile = CLI::GetParam<string>("output_file");
if (CLI::HasParam("output_file"))
Log::Warn << "--output_file (-o) is not specified;"
@@ -38,10 +38,10 @@ int main(int argc, char** argv)
// Get the GMM and the points.
GMM gmm;
- data::Load(inputFile, "gmm", gmm);
+ data::Load(inputModelFile, "gmm", gmm);
arma::mat dataset;
- data::Load(inputModelFile, dataset);
+ data::Load(inputFile, dataset);
// Now calculate the probabilities.
arma::rowvec probabilities(dataset.n_cols);
More information about the mlpack-git
mailing list