Expand description
CategoricalOrdinalEncoder (cat_encoder_mode="appearance", the wrapper’s default): assigns
integer codes to a categorical column’s values in order of first appearance in the training
data; unknown/missing values (at fit or transform time) map to -1.
Structs§
- Categorical
Ordinal Encoder - Label
Encoder - Classification label encoder (
CategoricalOrdinalEncoder(mode="alphabetical")as used ony): unique labels sorted alphabetically (by their string form) get codes0..n_classes-1.