Karol Grzegorczyk created MAHOUT-1555:
-----------------------------------------

             Summary: Exception thrown when a test example has the label not 
present in training examples
                 Key: MAHOUT-1555
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1555
             Project: Mahout
          Issue Type: Bug
          Components: Classification
    Affects Versions: 1.0
            Reporter: Karol Grzegorczyk
            Priority: Minor
             Fix For: 1.0
         Attachments: test_label_not_present_in_training_examples.diff

Currently an IllegalArgumentException is thrown when a test example has the 
label (belongs to the class) not present in training examples. When the number 
of labels is big, such a situation is likely and valid. The example of course 
will be misclassified, but exception should not be thrown. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to