[ 
https://issues.apache.org/jira/browse/MAHOUT-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Hans updated MAHOUT-531:
----------------------------------

    Attachment: MAHOUT-531.patch

Updated patch, renamed getNumActuallySetElements() and iterateActuallySet() to 
getNumNonZeroElements() and iterateNonZero(). For DenseMatrix this needed some 
work, as iterateActuallySet() just iterated over all values, while 
iterateNonZero() must skip values that are zero.

> MatrixWritable doesn't actually write/read anything
> ---------------------------------------------------
>
>                 Key: MAHOUT-531
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-531
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>            Reporter: Alexander Hans
>         Attachments: MAHOUT-531.patch
>
>
> The write() and readFields() methods of MatrixWritable write/read only the 
> classname, they don't write/read actual data.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to