Return-Path: X-Original-To: apmail-mahout-dev-archive@www.apache.org Delivered-To: apmail-mahout-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8BBE54639 for ; Sun, 29 May 2011 05:25:34 +0000 (UTC) Received: (qmail 52188 invoked by uid 500); 29 May 2011 05:25:33 -0000 Delivered-To: apmail-mahout-dev-archive@mahout.apache.org Received: (qmail 51569 invoked by uid 500); 29 May 2011 05:25:32 -0000 Mailing-List: contact dev-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mahout.apache.org Delivered-To: mailing list dev@mahout.apache.org Received: (qmail 51554 invoked by uid 99); 29 May 2011 05:25:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 May 2011 05:25:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 May 2011 05:25:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6AA97E6293 for ; Sun, 29 May 2011 05:24:47 +0000 (UTC) Date: Sun, 29 May 2011 05:24:47 +0000 (UTC) From: "Mat Kelcey (JIRA)" To: dev@mahout.apache.org Message-ID: <734924112.51607.1306646687433.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <710457992.9075.1305265907460.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAHOUT-695) Option to determine number of words for LDADriver from a specified dictionary MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAHOUT-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mat Kelcey updated MAHOUT-695: ------------------------------ Attachment: (was: mahout-695-sniff-vector.patch) > 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 > Affects Versions: 0.5 > Reporter: Mat Kelcey > Priority: Minor > Attachments: mahout-695.patch > > > 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