You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ap...@apache.org on 2015/04/14 16:02:39 UTC
svn commit: r1673427 -
/mahout/site/mahout_cms/trunk/content/users/algorithms/spark-naive-bayes.mdtext
Author: apalumbo
Date: Tue Apr 14 14:02:38 2015
New Revision: 1673427
URL: http://svn.apache.org/r1673427
Log:
CMS commit to mahout by apalumbo
Modified:
mahout/site/mahout_cms/trunk/content/users/algorithms/spark-naive-bayes.mdtext
Modified: mahout/site/mahout_cms/trunk/content/users/algorithms/spark-naive-bayes.mdtext
URL: http://svn.apache.org/viewvc/mahout/site/mahout_cms/trunk/content/users/algorithms/spark-naive-bayes.mdtext?rev=1673427&r1=1673426&r2=1673427&view=diff
==============================================================================
--- mahout/site/mahout_cms/trunk/content/users/algorithms/spark-naive-bayes.mdtext (original)
+++ mahout/site/mahout_cms/trunk/content/users/algorithms/spark-naive-bayes.mdtext Tue Apr 14 14:02:38 2015
@@ -94,7 +94,8 @@ Classification and testing on a holdout
$ mahout spark-trainnb
--input (-i) input Path to job input directory.
--output (-o) output The directory pathname for output.
- --trainComplementary (-c) Train complementary? Default is false.
+ --trainComplementary (-c) Train complementary? Default is false.
+ --master (-ma) Spark Master URL (optional). Default: "local". Note that you can specify the number of cores to get a performance improvement, for example "local[4]"
--help (-h) Print out help
- **Testing:**
@@ -103,6 +104,7 @@ Classification and testing on a holdout
--input (-i) input Path to job input directory.
--model (-m) model The path to the model built during training.
--testComplementary (-c) Test complementary? Default is false.
+ --master (-ma) Spark Master URL (optional). Default: "local". Note that you can specify the number of cores to get a performance improvement, for example "local[4]"
--help (-h) Print out help
## Examples