[ 
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

        

Reply via email to