You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/10/03 12:10:34 UTC

[jira] [Commented] (MAHOUT-812) Allow ConfusionMatrix to be Writable (via MatrixWritable)

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

Hudson commented on MAHOUT-812:
-------------------------------

Integrated in Mahout-Quality #1079 (See [https://builds.apache.org/job/Mahout-Quality/1079/])
    MAHOUT-812 help make confusion matrix writable

srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1178324
Files : 
* /mahout/trunk/core/src/main/java/org/apache/mahout/classifier/ConfusionMatrix.java
* /mahout/trunk/core/src/main/java/org/apache/mahout/math/MatrixWritable.java
* /mahout/trunk/core/src/test/java/org/apache/mahout/classifier/ConfusionMatrixTest.java
* /mahout/trunk/core/src/test/java/org/apache/mahout/math/MatrixWritableTest.java
* /mahout/trunk/core/src/test/java/org/apache/mahout/math/VectorWritableTest.java

                
> Allow ConfusionMatrix to be Writable (via MatrixWritable)
> ---------------------------------------------------------
>
>                 Key: MAHOUT-812
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-812
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Lance Norskog
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: MAHOUT-812.patch, MAHOUT-812.patch, MAHOUT-812.patch
>
>
> ConfusionMatrix does not support Writable. This patch adds that feature. ConfusionMatrix is a subclass of MatrixWritable.
> Since ConfusionMatrix is somewhat less than useful without the row/column labels, and MatrixWritable does not support writing bindings (it only saves numbers), this patch fixes both.
> Includes unit test for ConfusionMatrix (previously missing) which includes exercise of MatrixWritable support for numbers and labels. (There is no independent unit test for MatrixWritable.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira