[jira] [Commented] (MAHOUT-1555) Exception thrown when a test example has the label not present in training examples

2014-05-26 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/MAHOUT-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14009089#comment-14009089
 ] 

Hudson commented on MAHOUT-1555:


SUCCESS: Integrated in Mahout-Quality #2618 (See 
[https://builds.apache.org/job/Mahout-Quality/2618/])
MAHOUT-1555: Exception thrown when a test example has the label not present in 
training examples, added LOG warning message (suneel.marthi: rev 
0be2ea46aa3a700e9e863d0c5f75f256ff56641b)
* mrlegacy/src/main/java/org/apache/mahout/classifier/ConfusionMatrix.java
MAHOUT-1555: Exception thrown when a test example has the label not present in 
training examples, added LOG warning message (suneel.marthi: rev 
5a1c2ccba645ee38bbc3a7c251a470a42194f41e)
* CHANGELOG


> 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
>Assignee: Suneel Marthi
>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)


[jira] [Commented] (MAHOUT-1555) Exception thrown when a test example has the label not present in training examples

2014-05-23 Thread Sebastian Schelter (JIRA)

[ 
https://issues.apache.org/jira/browse/MAHOUT-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14007243#comment-14007243
 ] 

Sebastian Schelter commented on MAHOUT-1555:


Hi Karol,

Could you update the patch to at least log a warning in such a case?



> 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)