T
- The class type of this instance.public interface BucketizerParams<T> extends HasInputCols<T>, HasOutputCols<T>, HasHandleInvalid<T>
Bucketizer
.Modifier and Type | Interface and Description |
---|---|
static class |
BucketizerParams.SplitsArrayValidator
Param validator for splitsArray.
|
Modifier and Type | Field and Description |
---|---|
static DoubleArrayArrayParam |
SPLITS_ARRAY
The array of split points for mapping continuous features into buckets for multiple columns.
|
INPUT_COLS
OUTPUT_COLS
ERROR_INVALID, HANDLE_INVALID, KEEP_INVALID, SKIP_INVALID
Modifier and Type | Method and Description |
---|---|
default Double[][] |
getSplitsArray() |
default T |
setSplitsArray(Double[][] value) |
getInputCols, setInputCols
getOutputCols, setOutputCols
getHandleInvalid, setHandleInvalid
get, getParam, getParamMap, set
static final DoubleArrayArrayParam SPLITS_ARRAY
Each input column is supposed to be mapped into {numberOfSplitPoints - 1} buckets. A bucket is defined by two split points. For example, bucket(x,y) contains values in the range [x,y). An exception is that the last bucket also contains y. The array should contain at least three split points and be strictly increasing.
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.