Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B920318136 for ; Thu, 17 Mar 2016 17:58:33 +0000 (UTC) Received: (qmail 74029 invoked by uid 500); 17 Mar 2016 17:58:33 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 73991 invoked by uid 500); 17 Mar 2016 17:58:33 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 73955 invoked by uid 99); 17 Mar 2016 17:58:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2016 17:58:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 80FD92C14F4 for ; Thu, 17 Mar 2016 17:58:33 +0000 (UTC) Date: Thu, 17 Mar 2016 17:58:33 +0000 (UTC) From: "Nick Pentreath (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (SPARK-13963) Add binary toggle Param to ml.HashingTF MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-13963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Pentreath updated SPARK-13963: ----------------------------------- Comment: was deleted (was: Sure, assigned to you.) > Add binary toggle Param to ml.HashingTF > --------------------------------------- > > Key: SPARK-13963 > URL: https://issues.apache.org/jira/browse/SPARK-13963 > Project: Spark > Issue Type: Sub-task > Components: ML > Reporter: Nick Pentreath > Assignee: Bryan Cutler > Priority: Trivial > > It would be handy to add a binary toggle Param to {{HashingTF}}, as in the scikit-learn one: http://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.HashingVectorizer.html > If set, then all non-zero counts will be set to 1. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org