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

Jake Mannix updated MAHOUT-456:
-------------------------------

    Attachment: MAHOUT-456.patch

Oops.  DenseVector.isSequentialAccess() returns true.  Have to do explicit 
instanceof check here.

> RowSimilarityJob should not produce SequentialAccessSparseVectors
> -----------------------------------------------------------------
>
>                 Key: MAHOUT-456
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-456
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Math
>            Reporter: Sebastian Schelter
>         Attachments: MAHOUT-456-2.patch, MAHOUT-456.patch, MAHOUT-456.patch, 
> MAHOUT-456.patch
>
>
> RowSimilarityJob currently produces SequentialAccessSparseVectors with 
> cardinality Integer.MAX_VALUE wrapped inside VectorWritables.
> It should better produce RandomAccessSparseVectors as some methods like 
> assign(Vector) are very slow on such SequentialAccessSparseVectors.

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