kumoai.encoder.Numerical#

class kumoai.encoder.Numerical[source]#

Bases: Encoder

A Numerical encoder encodes its corresponding numerical column with a normalization specified by scaler and strategy for null value imputation specified by na_strategy.

scaler: Optional[Scaler] = None#

The specified Scaler, one of “standard”, “minmax”, or “robust”.

na_strategy: Literal[zero, mean, raise] = 'mean'#

The specified null value imputation strategy.

__init__(scaler=None, na_strategy=NAStrategy.MEAN, name='Numerical', _stats=<factory>, _target_='kumo.encoder.numerical.Numerical')#