[mlpack-git] mlpack-2.0.x: Fix duplicate options. (8073050)
gitdub at mlpack.org
gitdub at mlpack.org
Wed Jul 20 15:31:08 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : mlpack-2.0.x
Link : https://github.com/mlpack/mlpack/compare/e434bc4ac042534529a2a440a44d86935b4d7164...fc4195d27bb9e642356a384d1fa6fe10cbdf89a6
>---------------------------------------------------------------
commit 8073050f5e29c012f71b7d45b248780b4a6f8b2c
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Jul 13 10:56:08 2016 -0400
Fix duplicate options.
>---------------------------------------------------------------
8073050f5e29c012f71b7d45b248780b4a6f8b2c
src/mlpack/methods/pca/pca_main.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mlpack/methods/pca/pca_main.cpp b/src/mlpack/methods/pca/pca_main.cpp
index be94df2..d9e5c64 100644
--- a/src/mlpack/methods/pca/pca_main.cpp
+++ b/src/mlpack/methods/pca/pca_main.cpp
@@ -38,6 +38,9 @@ PARAM_DOUBLE("var_to_retain", "Amount of variance to retain; should be between "
PARAM_FLAG("scale", "If set, the data will be scaled before running PCA, such "
"that the variance of each feature is 1.", "s");
+PARAM_STRING_IN("decomposition_method", "Method used for the principal"
+ "components analysis: 'exact', 'randomized', 'quic'.", "c", "exact");
+
int main(int argc, char** argv)
{
// Parse commandline.
More information about the mlpack-git
mailing list