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

Joseph K. Bradley commented on SPARK-5890:
------------------------------------------

[~yinxusen] Could you please create JIRAs for: Python API + programming guide 
update?

> Add QuantileDiscretizer
> -----------------------
>
>                 Key: SPARK-5890
>                 URL: https://issues.apache.org/jira/browse/SPARK-5890
>             Project: Spark
>          Issue Type: Sub-task
>          Components: ML
>            Reporter: Xiangrui Meng
>            Assignee: Xusen Yin
>             Fix For: 1.6.0
>
>
> A `QuantileDiscretizer` takes a column with continuous features and outputs a 
> column with binned categorical features.
> {code}
> val fd = new QuantileDiscretizer()
>   .setInputCol("age")
>   .setNumBins(32)
>   .setOutputCol("ageBins")
> {code}
> This should an automatic feature discretizer, which uses a simple algorithm 
> like approximate quantiles to discretize features. It should set the ML 
> attribute correctly in the output 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]

Reply via email to