[mlpack] 16/207: fixed typo in perceptron documentation

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu Mar 23 17:53:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit 484f3a9280c458f267ef8664df8f83d17024e227
Author: yashu-seth <yashuseth2503 at gmail.com>
Date:   Mon Jan 2 12:23:53 2017 -0800

    fixed typo in perceptron documentation
---
 src/mlpack/methods/perceptron/perceptron_main.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/methods/perceptron/perceptron_main.cpp b/src/mlpack/methods/perceptron/perceptron_main.cpp
index 38dbef0..8568ec6 100644
--- a/src/mlpack/methods/perceptron/perceptron_main.cpp
+++ b/src/mlpack/methods/perceptron/perceptron_main.cpp
@@ -49,13 +49,13 @@ PROGRAM_INFO("Perceptron",
     "perceptron on 'training_data.csv' (and 'training_labels.csv)' and saves "
     "the model to 'perceptron.xml'."
     "\n\n"
-    "$ perceptron -t training_data.csv -l training_labels.csv -m perceptron.csv"
+    "$ perceptron -t training_data.csv -l training_labels.csv -M perceptron.xml"
     "\n\n"
     "Then, this model can be re-used for classification on 'test_data.csv'.  "
     "The example below does precisely that, saving the predicted classes to "
     "'predictions.csv'."
     "\n\n"
-    "$ perceptron -i perceptron.xml -T test_data.csv -o predictions.csv"
+    "$ perceptron -m perceptron.xml -T test_data.csv -o predictions.csv"
     "\n\n"
     "Note that all of the options may be specified at once: predictions may be "
     "calculated right after training a model, and model training can occur even"

-- 
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