[
https://issues.apache.org/jira/browse/SPARK-13629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202146#comment-15202146
]
Apache Spark commented on SPARK-13629:
--------------------------------------
User 'hhbyyh' has created a pull request for this issue:
https://github.com/apache/spark/pull/11830
> Add binary toggle Param to CountVectorizer
> ------------------------------------------
>
> Key: SPARK-13629
> URL: https://issues.apache.org/jira/browse/SPARK-13629
> Project: Spark
> Issue Type: New Feature
> Components: ML
> Reporter: Joseph K. Bradley
> Assignee: yuhao yang
> Priority: Minor
> Fix For: 2.0.0
>
>
> It would be handy to add a binary toggle Param to CountVectorizer, as in the
> scikit-learn one:
> [http://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.CountVectorizer.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: [email protected]
For additional commands, e-mail: [email protected]