dtype and stype, you can override the encoder for individual columns via ColumnProcessingPlan. The encoder you specify must be compatible with the column’s semantic type.
Enums
NAStrategy
Strategy for imputing missing values.
Scaler
Scaling strategy for numerical features.
Encoders
Null
Skips encoding for the column entirely. Supported on all semantic types.
Numerical
Encodes a numerical column with optional scaling and missing value imputation.
Optional[Scaler]
default:"None"
The scaling strategy. Kumo infers a suitable scaler if not specified.
NAStrategy
default:"NAStrategy.MEAN"
The missing value imputation strategy.
MaxLogNumerical
Applies a log transformation after clipping values at the column maximum. Useful for heavy-tailed distributions.
NAStrategy
default:"NAStrategy.MEAN"
The missing value imputation strategy.
MinLogNumerical
Applies a log transformation after clipping values at the column minimum.
NAStrategy
default:"NAStrategy.MEAN"
The missing value imputation strategy.
Index
Encodes a categorical or ID column as a learned embedding index. Rare values (below min_occ) are mapped to a shared out-of-vocabulary embedding.
int
default:"1"
Minimum occurrence count for a value to receive its own embedding. Values appearing fewer times are treated as out-of-vocabulary.
NAStrategy
default:"NAStrategy.SEPARATE"
The missing value imputation strategy.
Hash
Encodes a categorical column via feature hashing. Suitable for very high-cardinality columns.
int
required
The number of hash buckets (output dimensionality).
NAStrategy
default:"NAStrategy.SEPARATE"
The missing value imputation strategy.
MultiCategorical
Encodes a multi-categorical column (a string containing multiple space- or comma-separated categories) as a bag-of-categories embedding.
int
default:"1"
Minimum occurrence count for a category to receive its own embedding.
NAStrategy
default:"NAStrategy.ZERO"
The missing value imputation strategy.
GloVe
Encodes a text column using pre-trained GloVe word embeddings.
str
default:"glove.6B"
The GloVe model identifier. Valid values:
"glove.6B", "glove.42B", "glove.840B", "glove_twitter.27B".int
default:"50"
The embedding dimensionality.
NAStrategy
default:"NAStrategy.ZERO"
The missing value imputation strategy.
NumericalList
Encodes a sequence or embedding column (a list of floats) with optional scaling.
Optional[Scaler]
default:"None"
The scaling strategy applied to each element.
NAStrategy
default:"NAStrategy.ZERO"
The missing value imputation strategy.
Datetime
Encodes a timestamp column by decomposing it into cyclical calendar features. Each component is optional and enabled by default.
bool
default:"True"
Include the minute-of-hour component.
bool
default:"True"
Include the hour-of-day component.
bool
default:"True"
Include the day-of-week component.
bool
default:"True"
Include the day-of-month component.
bool
default:"True"
Include the day-of-year component.
bool
default:"True"
Include the year component.
Optional[int]
default:"None"
If specified, encodes year as a cyclical feature over this many periods.
NAStrategy
default:"NAStrategy.ZERO"
The missing value imputation strategy.