Bucketizer (Spark 3.5.5 JavaDoc) (original) (raw)


public final class Bucketizer
extends Model<Bucketizer>
implements HasHandleInvalid, HasInputCol, HasOutputCol, HasInputCols, HasOutputCols, DefaultParamsWritable
Bucketizer maps a column of continuous features to a column of feature buckets.
Since 2.3.0,Bucketizer can map multiple columns at once by setting the inputCols parameter. Note that when both the inputCol and inputCols parameters are set, an Exception will be thrown. Thesplits parameter is only used for single column usage, and splitsArray is for multiple columns.
See Also:
Serialized Form