mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paritosh Ranjan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAHOUT-1091) Bug in SequentialAccessSparseVector full iteration
Date Tue, 09 Oct 2012 18:34:02 GMT

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

Paritosh Ranjan commented on MAHOUT-1091:
-----------------------------------------

Yes, got the error. The test case is failing now. The way I was creating the SequentialAccessSparseVector
was faulty, as I was not using the cardinality and size of the vector properly.

Thanks for clearing the doubts.
                
> Bug in SequentialAccessSparseVector full iteration
> --------------------------------------------------
>
>                 Key: MAHOUT-1091
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1091
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>            Reporter: Ted Dunning
>             Fix For: 0.8
>
>         Attachments: 0001-MAHOUT-1091-Add-test-to-demonstrate-broken-iterator-.patch,
0001-MAHOUT-1091-Add-test-to-demonstrate-broken-iterator-.patch, MAHOUT-1091.patch
>
>
> The iterator for the SequentialAccessSparseVector doesn't return any items beyond the
last non-zero.  This breaks some stuff pretty massively, but hopefully doesn't break much
user code since iterating through all elements of a sparse vector is a relatively rare thing
to do.

--
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

Mime
View raw message