Re: trainclassifier/trainnb

2014-03-25 Thread Suneel Marthi
1. Mahout 0.6 is long retired and u shouldn't be using it.  Stick with 0.9 (or trunk). 2. There was a new Naive Bayes imp that was added for 0.7 (and is different from 0.6). Hence the differences u see. 3. The cwiki website is not valid anymore and users should refer to http://mahout.apache.org

Re: trainclassifier/trainnb

2014-03-25 Thread Mahmood Naderan
OK. The wikipedia example in these pages http://mahout.apache.org/users/classification/wikipedia-bayes-example.html https://cwiki.apache.org/confluence/display/MAHOUT/Wikipedia+Bayes+Example Are valid for older Mahouts. I have no problem with Mahout 0.6. However the last two commands (trainclass

Re: trainclassifier/trainnb

2014-03-25 Thread Suneel Marthi
If u r looking for an example usage, see examples/bin/classify-20newsgroups.sh Sent from my iPhone > On Mar 25, 2014, at 9:28 AM, Andrew Musselman > wrote: > > If you need to see which options are available for a given job you can just > run $MAHOUT_HOME/bin/mahout jobname to see the usage:

Re: trainclassifier/trainnb

2014-03-25 Thread Andrew Musselman
If you need to see which options are available for a given job you can just run $MAHOUT_HOME/bin/mahout jobname to see the usage: $ bin/mahout trainnb Running on hadoop, using /home/user/hadoop/bin/hadoop and HADOOP_CONF_DIR= MAHOUT-JOB: /home/user/mahout/examples/target/mahout-examples-1.0-SNAPSH

trainclassifier/trainnb

2014-03-25 Thread Mahmood Naderan
Hi, What is the correct syntax for this old command?    mahout trainclassifier -i traininginput -o wikipediamodel -mf 4 -ms 4 It seems that trainclassifier is replaced by trainnb but this one has no -mf option.   Regards, Mahmood