Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-543

classifier type and data source not taken into account in org.apache.mahout.classifier.bayes.TestClassifier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4
    • 0.4
    • None
    • None
    • Mac OS X, Hadoop 0.20.2

    Description

      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

      Attachments

        1. MAHOUT-543.patch
          0.7 kB
          Robin Swezey

        Activity

          People

            Unassigned Unassigned
            mizudera Robin Swezey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified