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 F09199C41 for ; Fri, 30 Mar 2012 17:58:50 +0000 (UTC) Received: (qmail 97617 invoked by uid 500); 30 Mar 2012 17:58:49 -0000 Delivered-To: apmail-mahout-dev-archive@mahout.apache.org Received: (qmail 97535 invoked by uid 500); 30 Mar 2012 17:58:49 -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 97477 invoked by uid 99); 30 Mar 2012 17:58:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 17:58:49 +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, 30 Mar 2012 17:58:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 91CFF34F9A8 for ; Fri, 30 Mar 2012 17:58:27 +0000 (UTC) Date: Fri, 30 Mar 2012 17:58:27 +0000 (UTC) From: "Andrew Harbick (Created) (JIRA)" To: dev@mahout.apache.org Message-ID: <784543456.39090.1333130307671.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MAHOUT-997) Make splitData smart enough to not consider a CSV header to be part of the data 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 Make splitData smart enough to not consider a CSV header to be part of the data ------------------------------------------------------------------------------- Key: MAHOUT-997 URL: https://issues.apache.org/jira/browse/MAHOUT-997 Project: Mahout Issue Type: Improvement Components: Integration Affects Versions: 0.6 Environment: OS X Reporter: Andrew Harbick Priority: Minor Fix For: 0.6 If you do something like: MAHOUT_LOCAL=1 $MAHOUT_HOME/bin/mahout splitDataset --input all.csv --output split --trainingPercentage 0.9 --probePercentage 0.1 The header row from your CSV will end up with 90% chance in your training data and 10% chance in your evaluation data. To use a tool like trainlogistic or runlogistic the header file is needed in both. Perhaps add an argument to splitData to duplicate the header line? -- 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