mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mat Kelcey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAHOUT-695) Option to determine number of words for LDADriver from a specified dictionary
Date Fri, 13 May 2011 05:51:47 GMT
Option to determine number of words for LDADriver from a specified dictionary
-----------------------------------------------------------------------------

                 Key: MAHOUT-695
                 URL: https://issues.apache.org/jira/browse/MAHOUT-695
             Project: Mahout
          Issue Type: Improvement
          Components: Clustering
            Reporter: Mat Kelcey
            Priority: Minor


It bugged me that you needed to specify the number of words directly to the LDADriver 
eg ./bin/mahout lda \
     -i ./examples/bin/work/reuters-out-seqdir-sparse/tf-vectors \
     -o ./examples/bin/work/reuters-lda -k 20 -v 50000 -ow -x 20 

with this patch you can instead provide a dictionary; we just count the terms in the dictionary
eg ./bin/mahout lda \
     -i ./examples/bin/work/reuters-out-seqdir-sparse/tf-vectors \
     -o ./examples/bin/work/reuters-lda \
     -d ./examples/bin/work/reuters-out-seqdir-sparse/dictionary.file-0 \
     -k 20 -ow -x 20 


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message