kumoai.encoder.MinLogNumerical#

class kumoai.encoder.MinLogNumerical[source]#

Bases: Encoder

A MinLogNumerical encoder encodes its corresponding numerical column, after applying the transformation

\[\log \left( \frac{\text{feature} - (\text{max} + 1)}{-1.0} \right)\]

and using a strategy for null value imputation specified by na_strategy.

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

The specified null value imputation strategy.

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