You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Joe Prasanna Kumar (JIRA)" <ji...@apache.org> on 2010/11/15 00:30:14 UTC
[jira] Commented: (MAHOUT-543) classifier type and data source not
taken into account in org.apache.mahout.classifier.bayes.TestClassifier
[ https://issues.apache.org/jira/browse/MAHOUT-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931920#action_12931920 ]
Joe Prasanna Kumar commented on MAHOUT-543:
-------------------------------------------
Robin,
Good catch. I just verified that this issue occurs. Also using the typeOpt / dataSourceOpt instead of classifierType / dataSource fixes it.
Do you want to upload a patch with the fix you have proposed ?
regards,
Joe.
> 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
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> 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.