ToNumerical#
- class sdm.processing.common.ToNumerical#
Bases:
ProcessorMove categorical columns into the numerical block.
This is an stype conversion step:
CategoricalTensoralready stores ordinal category ids and the category vocabulary.ToNumericalreuses those existing ids, casts them to the numerical dtype, and clears the categorical block so numerical-only models can consume both original numerical and categorical features. Missing categorical values remain-1.Unhandled semantic types are preserved unchanged.
Capabilities#
Handled Semantic Types |
|
Requires Fitting |
❌ |