Expand description
Ordinal encoder: map string categories to integer indices.
Each column’s categories are mapped to integers 0, 1, 2, ... in order
of first appearance in the training data. Unknown categories seen during
transform produce an error.
Structs§
- Fitted
Ordinal Encoder - A fitted ordinal encoder holding per-column category-to-index mappings.
- Ordinal
Encoder - An unfitted ordinal encoder.