[
https://issues.apache.org/jira/browse/MAHOUT-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673231#comment-13673231
]
Hudson commented on MAHOUT-1238:
--------------------------------
Integrated in Mahout-Quality #2034 (See
[https://builds.apache.org/job/Mahout-Quality/2034/])
MAHOUT-1238 VectorWritable's bug with VectorView of sparse vectors (Maysam
Yabandeh) (Revision 1489001)
Result = SUCCESS
robinanil :
Files :
* /mahout/trunk/core/src/main/java/org/apache/mahout/math/VectorWritable.java
*
/mahout/trunk/core/src/test/java/org/apache/mahout/math/VectorWritableTest.java
> VectorWritable's bug with VectorView of sparse vectors
> ------------------------------------------------------
>
> Key: MAHOUT-1238
> URL: https://issues.apache.org/jira/browse/MAHOUT-1238
> Project: Mahout
> Issue Type: Bug
> Components: Math
> Affects Versions: 0.7, 0.8
> Reporter: Maysam Yabandeh
> Assignee: Robin Anil
> Labels: reduce, test
> Fix For: 0.7, 0.8
>
> Attachments: MAHOUT-1238.patch, MAHOUT-1238.patch
>
>
> VectorWritable raises an exception if it is used on a VectorView of a sparse
> vector. The reason is that the sparse vector writes only the non-zero
> elements, while VectorView's implementation of getNumNondefaultElements()
> returns the size of the entire data. Later when reading the vector,
> VectorWritable expects reading more items that was written.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira