Description
A `QuantileDiscretizer` takes a column with continuous features and outputs a column with binned categorical features.
val fd = new QuantileDiscretizer() .setInputCol("age") .setNumBins(32) .setOutputCol("ageBins")
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.
Attachments
Attachments
Issue Links
- blocks
-
SPARK-10785 Scale QuantileDiscretizer using distributed binning
- Closed
- is related to
-
SPARK-5893 Add Bucketizer
- Resolved
-
SPARK-11963 User guide section for QuantileDiscretizer transformer
- Resolved
- relates to
-
SPARK-11515 QuantileDiscretizer should take random seed
- Resolved
-
SPARK-11987 Python API update for ChiSqSelector and QuantileDiscretizer
- Closed
- links to