[
https://issues.apache.org/jira/browse/SPARK-5891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiangrui Meng resolved SPARK-5891.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
Issue resolved by pull request 5699
[https://github.com/apache/spark/pull/5699]
> Add Binarizer
> -------------
>
> Key: SPARK-5891
> URL: https://issues.apache.org/jira/browse/SPARK-5891
> Project: Spark
> Issue Type: Sub-task
> Components: ML
> Reporter: Xiangrui Meng
> Assignee: Liang-Chi Hsieh
> Fix For: 1.4.0
>
>
> `Binarizer` takes a column of continuous features and output a column with
> binary features, where nonzeros (or values below a threshold) become 1 in the
> output.
> {code}
> val binarizer = new Binarizer()
> .setInputCol("numVisits")
> .setOutputCol("visited")
> {code}
> The output column should be marked as binary. We need to discuss whether we
> should process multiple columns or a vector column.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]