encoders

Encoders for encoding categorical variables and scaling continuous data.

Functions

_clamp_zero(x)

_identity(x)

_plus_one(x)

Classes

EncoderNormalizer([method, center, ...])

Special Normalizer that is fit on each encoding sequence.

GroupNormalizer([method, groups, center, ...])

Normalizer that scales by groups.

MultiNormalizer(normalizers)

Normalizer for multiple targets.

NaNLabelEncoder([add_nan, warn])

Labelencoder that can optionally always encode nan and unknown classes (in transform) as class 0

TorchNormalizer([method, center, ...])

Basic target transformer that can be fit also on torch tensors.