[mlpack-svn] r13021 - mlpack/trunk/src/mlpack/methods/lars

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon Jun 11 15:04:00 EDT 2012


Author: rcurtin
Date: 2012-06-11 15:04:00 -0400 (Mon, 11 Jun 2012)
New Revision: 13021

Modified:
   mlpack/trunk/src/mlpack/methods/lars/lars_main.cpp
Log:
Clean up documentation slightly.


Modified: mlpack/trunk/src/mlpack/methods/lars/lars_main.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/lars/lars_main.cpp	2012-06-11 19:01:45 UTC (rev 13020)
+++ mlpack/trunk/src/mlpack/methods/lars/lars_main.cpp	2012-06-11 19:04:00 UTC (rev 13021)
@@ -28,18 +28,20 @@
     "For efficiency reasons, it is not recommended to use this algorithm with "
     "lambda_1 = 0.\n");
 
-PARAM_STRING_REQ("input_file", "File containing covariates (X)",
+PARAM_STRING_REQ("input_file", "File containing covariates (X).",
     "i");
 PARAM_STRING_REQ("responses_file", "File containing y "
     "(responses/observations).", "r");
 
-PARAM_STRING("output_file", "File to save beta (linear estimator) to", "o",
+PARAM_STRING("output_file", "File to save beta (linear estimator) to.", "o",
     "output.csv");
 
-PARAM_DOUBLE("lambda1", "Regularization parameter for l1-norm penalty", "l", 0);
-PARAM_DOUBLE("lambda2", "Regularization parameter for l2-norm penalty", "L", 0);
+PARAM_DOUBLE("lambda1", "Regularization parameter for l1-norm penalty.", "l",
+    0);
+PARAM_DOUBLE("lambda2", "Regularization parameter for l2-norm penalty.", "L",
+    0);
 PARAM_FLAG("use_cholesky", "Use Cholesky decomposition during computation "
-    "rather than explicitly computing the full Gram matrix", "c");
+    "rather than explicitly computing the full Gram matrix.", "c");
 
 using namespace arma;
 using namespace std;




More information about the mlpack-svn mailing list