Description
`Bucketizer` maps a column of continuous features to a column of feature buckets, where the buckets are specified by users.
val bucketizer = new Bucketizer() .setInputCol("age") .setBuckets(Array(10, 20, 30, 40, 50)) .setOutputCol("ageBuckets")
The output feature names should be automatically generated. We need to discuss the behavior if a value falls out the specified bucket range.
Attachments
Issue Links
- is depended upon by
-
SPARK-7593 Python API for Bucketizer
-
- Resolved
-
- relates to
-
SPARK-5890 Add QuantileDiscretizer
-
- Resolved
-
-
SPARK-7577 User guide update for Bucketizer
-
- Resolved
-
- links to