On Mon, Dec 6, 2010 at 7:42 PM, Frank Wang <[email protected]> wrote:
> I'm seeing this problem on Ubuntu as well. > > *Issue 1:* > Test result is all 0's. > http://pastebin.com/CicVMpST > > The steps are: > 1. Train: > $MAHOUT_HOME/bin/mahout testclassifier -m newsmodel -d 20news-input > -type bayes -ng 1 -source hdfs -method sequential > > 2. Test > $MAHOUT_HOME/bin/mahout trainclassifier -i 20news-input -o newsmodel > -type bayes -ng 1 -source hdfs > > The output are all 0's. > > *Issue 2:* > Also, when I do > "bin/mahout trainclassifier > -i examples/bin/work/20news-bydate/bayes-train-input > -o examples/bin/work/20news-bydate/bayes-model" > > I get the error > "Exception in thread "main" org.apache.hadoop.mapred.InvalidInputException: > Input path does not exist: > > hdfs://localhost:9000/user/root/examples/bin/work/20news-bydate/bayes-train-input" > > I digged into the code, it seems that trainclassifier only accepts HDFS or > HBASE, is there a way to read file directly from a directory? > > > I did my experiment in Fedora 13 and 14 . It didnt showed any such issues. I got expected results -- ********************************** JAGANADH G http://jaganadhg.freeflux.net/blog
