Andrew Palumbo (JIRA)
2016-09-15 21:41:20 UTC
Andrew Palumbo created MAHOUT-1882:
--------------------------------------
Summary: SequentialAccessSparseVector inerateNonZeros is incorrect.
Key: MAHOUT-1882
URL: https://issues.apache.org/jira/browse/MAHOUT-1882
Project: Mahout
Issue Type: Bug
Components: Math
Affects Versions: 0.12.2
Reporter: Andrew Palumbo
Fix For: 0.13.0
In {{SequentialAccessSparseVector}} a bug is noted. When Cuonting Non-Zero elements {{NonDefaultIterator}} can, under certain circumstances give an incorrect iterator of size different from the actual non-zeroCounts.
{code}
@Override
public Iterator<Element> iterateNonZero() {
// TODO: this is a bug, since nonDefaultIterator doesn't hold to non-zero contract.
return new NonDefaultIterator();
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
--------------------------------------
Summary: SequentialAccessSparseVector inerateNonZeros is incorrect.
Key: MAHOUT-1882
URL: https://issues.apache.org/jira/browse/MAHOUT-1882
Project: Mahout
Issue Type: Bug
Components: Math
Affects Versions: 0.12.2
Reporter: Andrew Palumbo
Fix For: 0.13.0
In {{SequentialAccessSparseVector}} a bug is noted. When Cuonting Non-Zero elements {{NonDefaultIterator}} can, under certain circumstances give an incorrect iterator of size different from the actual non-zeroCounts.
{code}
@Override
public Iterator<Element> iterateNonZero() {
// TODO: this is a bug, since nonDefaultIterator doesn't hold to non-zero contract.
return new NonDefaultIterator();
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)