[ https://issues.apache.org/jira/browse/MAHOUT-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13432039#comment-13432039 ]
Gokhan Capan commented on MAHOUT-1051: -------------------------------------- Jake, I've run the new version without an error and checked a few documents if they are related with the inferred topics. It works for me. > InMemoryCollapsedVariationalBayes0 to load input vectors with docIDs > -------------------------------------------------------------------- > > Key: MAHOUT-1051 > URL: https://issues.apache.org/jira/browse/MAHOUT-1051 > Project: Mahout > Issue Type: Improvement > Components: Clustering > Affects Versions: 0.8 > Reporter: Gokhan Capan > Priority: Minor > Labels: cvb, lda > Fix For: 0.8 > > Attachments: MAHOUT-1051.patch, MAHOUT-1051.patch > > > Based upon our conversation with Jake in the user-list, I have modified the > o.a.m.clustering.lda.cvb.InMemoryCollapsedVariationalBayes0.loadVectors so > that it does not ignore document ids in input. To preserve backwards > compatibility, it behaves as it did earlier if a ClassCastException is > thrown; which occurs when ids are not integers, and/or the document vector > (or getDelegate() if it is a NamedVector) cannot be cast to a > RandomAccessSparseVector. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira