You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sean Owen (Commented) (JIRA)" <ji...@apache.org> on 2011/09/27 14:51:11 UTC

[jira] [Commented] (MAHOUT-812) Enhance ConfusionMatrix to be a MatrixWritable (enhances MatrixWritable to pickle labels)

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

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

In general, Matrix implementations are not Writable. MatrixWritable, however, is a container for a Matrix which is Writable. The idea is that MatrixWritable handle the serialization. This has a few nice properties, primarily that Matrix/Vector are not quite so coupled to Hadoop. Can MatrixWritable therefore be enhanced to write labels? That would be of general use beyond ConfusionMatrix.


                
> 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