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 A4A3D33AC for ; Fri, 6 May 2011 14:35:45 +0000 (UTC) Received: (qmail 62538 invoked by uid 500); 6 May 2011 14:35:44 -0000 Delivered-To: apmail-mahout-dev-archive@mahout.apache.org Received: (qmail 62493 invoked by uid 500); 6 May 2011 14:35:44 -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 62461 invoked by uid 99); 6 May 2011 14:35:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 14:35:44 +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; Fri, 06 May 2011 14:35:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 36E77C4E5D for ; Fri, 6 May 2011 14:35:03 +0000 (UTC) Date: Fri, 6 May 2011 14:35:03 +0000 (UTC) From: "Grant Ingersoll (JIRA)" To: dev@mahout.apache.org Message-ID: <1031216473.28252.1304692503221.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1555225623.24513.1304600583159.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAHOUT-688) High Document Frequency pruning for seq2sparse 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-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll updated MAHOUT-688: ----------------------------------- Attachment: MAHOUT-688.patch Reorgs the code a little bit to move std. dev. calculation to a common place. Also, puts in tests for std. dev. and fixes the std. dev. calculation, which _I am pretty sure_ was incorrectly calculated (it was missing the subtraction of the average in the sum of squares calc). Also added license headers and cleaned up the formatting a bit. Since we are in code freeze, we can iterate on this a bit for 0.6. > High Document Frequency pruning for seq2sparse > ---------------------------------------------- > > Key: MAHOUT-688 > URL: https://issues.apache.org/jira/browse/MAHOUT-688 > Project: Mahout > Issue Type: Improvement > Reporter: Vasil Vasilev > Assignee: Grant Ingersoll > Priority: Minor > Labels: Vectorization > Fix For: 0.6 > > Attachments: MAHOUT-688.patch, MAHOUT-688.patch > > > This improvement allows to prune the words with high document frequencies from the tf and tf-idf vectors produced by seq2sparse, based on the standard deviation of the words' document frequencies and specifying which rods to be pruned in a means of times this standard deviation. One good option is 3 times the standard deviation -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira