[mlpack-git] master: Fix --test_file: it is an input parameter. (c852746)

gitdub at mlpack.org gitdub at mlpack.org
Mon Jul 18 13:01:31 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/59bc0b32630a3ad786706993f4d5e8b087f1c702...0d9a0e263a32b99d8dcf5d2723b3b92c67e669fc

>---------------------------------------------------------------

commit c852746f32273e1e7207b866b702eaf65f82b3a2
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon Jul 18 13:01:31 2016 -0400

    Fix --test_file: it is an input parameter.


>---------------------------------------------------------------

c852746f32273e1e7207b866b702eaf65f82b3a2
 src/mlpack/methods/rmva/rmva_main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/rmva/rmva_main.cpp b/src/mlpack/methods/rmva/rmva_main.cpp
index b0486e6..b76eefc 100644
--- a/src/mlpack/methods/rmva/rmva_main.cpp
+++ b/src/mlpack/methods/rmva/rmva_main.cpp
@@ -75,7 +75,7 @@ PARAM_INT_IN("classes", "The number of classes.", "c", 10);
 PARAM_INT_IN("seed", "Random seed.  If 0, 'std::time(NULL)' is used.", "s", 0);
 
 // Test parameters.
-PARAM_STRING_OUT("test_file", "A file containing the test set.", "T");
+PARAM_STRING_IN("test_file", "A file containing the test set.", "T", "");
 PARAM_STRING_OUT("output_file", "The file in which the predicted labels for the"
     " test set will be written.", "o");
 




More information about the mlpack-git mailing list