kumoai.encoder.MultiCategorical#

class kumoai.encoder.MultiCategorical[source]#

Bases: Encoder

A MultiCategorical encoder encodes its corresponding multicategorical column by treating each categorical value independently, and fusing the results.

min_occ: PositiveInt = 1#

The minimum frequency of distinct values.

na_strategy: Literal[zero, separate, most_frequent] = 'zero'#

The specified null value imputation strategy.

__init__(min_occ=1, na_strategy=NAStrategy.ZERO, name='MultiCategorical', _stats=<factory>, _target_='kumo.encoder.categorical.MultiCategorical')#