mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAHOUT-812) Enhance ConfusionMatrix to be a MatrixWritable (enhances MatrixWritable to pickle labels)
Date Wed, 28 Sep 2011 06:09:48 GMT

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

Sean Owen commented on MAHOUT-812:
----------------------------------

Yeah something like that -- though look at how MatrixWritable handles stuff now. You may not
have to go to the trouble of making a delegate. It ought to interrogate the object as normal
through its methods.
                
> Enhance ConfusionMatrix to be a MatrixWritable (enhances MatrixWritable to pickle labels)
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-812
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-812
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Lance Norskog
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: 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

        

Mime
View raw message