[
https://issues.apache.org/jira/browse/MAHOUT-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Drew Farris updated MAHOUT-401:
-------------------------------
Attachment: MAHOUT-401.patch
This patch:
Adds the -nv option to SparseVectorFromSequenceFiles.
Enhances DictionaryVictorizerTest to assert that the proper vector types are
generated
Adds SparseVectorFromSequenceFilesTest to validate the proper command-line
option behavior and vector types.
Extracts random document generation code to RandomDocumentGenerator utility
class.
> Use NamedVector in seq2sparse
> -----------------------------
>
> Key: MAHOUT-401
> URL: https://issues.apache.org/jira/browse/MAHOUT-401
> Project: Mahout
> Issue Type: Bug
> Components: Utils
> Affects Versions: 0.4
> Reporter: Drew Farris
> Assignee: Drew Farris
> Fix For: 0.4
>
> Attachments: MAHOUT-401.patch, MAHOUT-401.patch, pv.patch
>
>
> In seq2sparse, TFIDFPartialVectorReducer and TFPartialVectorReducer should
> write NamedVectors. It appears that a lack of labels on the vector input to
> k-means at least breaks the cluster-dumper in the sense that it no longer
> prints the original document ids for points.
> See:
> http://lucene.472066.n3.nabble.com/where-are-the-points-in-each-cluster-kmeans-clusterdump-td838683.html#a845600
> I wonder if this is also an issue with the code that generates vectors from
> lucene indexes?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.