[
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
Slightly modified version of Sebastian's most recent patch: if
SequentialAccessSparseVector is passed in as an argument, just clone() it's
internal values data structure, as this will be way faster in this case.
> 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
>
>
> 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.