You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bryan Cutler (JIRA)" <ji...@apache.org> on 2016/03/17 18:37:33 UTC

[jira] [Commented] (SPARK-13963) Add binary toggle Param to ml.HashingTF

    [ https://issues.apache.org/jira/browse/SPARK-13963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200000#comment-15200000 ] 

Bryan Cutler commented on SPARK-13963:
--------------------------------------

Hi [~mlnick], mind if I work on this?

> 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
>            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