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

Lance Norskog commented on MAHOUT-812:
--------------------------------------

Yeah, it did not seem right to me either. What about: ConfusionMatrix has a 
delegate Matrix (Dense) and is disjoint from Writable-ness. You pull the 
delegate and Writable that.

Would an R-style dataframe work better than these Matrix & Vector formats? One 
common format for Vectors, Matrices, and possibly tensors?
                
> 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