[mlpack] 15/35: Fix parameter name issues.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Thu Sep 15 23:29:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch master
in repository mlpack.
commit da1425c9d9549f21dd7ad39b20d50805251d3674
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Jul 13 15:57:43 2016 -0400
Fix parameter name issues.
---
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 77ca32a..97dc2e9 100644
--- a/src/mlpack/methods/gmm/gmm_probability_main.cpp
+++ b/src/mlpack/methods/gmm/gmm_probability_main.cpp
@@ -37,7 +37,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;"
@@ -45,10 +45,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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git
More information about the debian-science-commits
mailing list