Robin, Since you see the error clearly, can you add a patch to this very nice report to make sure that a committer knows what you suggest to fix the problem very precisely?
On Sun, Nov 14, 2010 at 6:29 AM, Robin Swezey (JIRA) <[email protected]>wrote: > classifier type and data source not taken into account in > org.apache.mahout.classifier.bayes.TestClassifier > > ----------------------------------------------------------------------------------------------------------- > > Key: MAHOUT-543 > URL: https://issues.apache.org/jira/browse/MAHOUT-543 > Project: Mahout > Issue Type: Bug > Components: Classification > Affects Versions: 0.4 > Environment: Mac OS X, Hadoop 0.20.2 > Reporter: Robin Swezey > Fix For: 0.5 > > > This concerns the latest version of Mahout checked out from the SVN repo (I > believe 0.4) > > When launching TestClassifier using: > > $MAHOUT_HOME/bin/mahout testclassifier -m model -d test-input -type cbayes > -ng 1 -source hbase > > The output says that the classifier type is Bayes (not Complementary) and > the data source is HDFS. > > After a quick investigation in TestClassifer.java source, there are > mistakes on lines: 142, 147, 148 > with classifierType instead of typeOpt, and dataSource instead of > dataSourceOpt > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > >
