CatToOneHot

class aixd.data.transform.CatToOneHot[source]

Bases: CatToId

Implements one hot encoding for string and integer data. Can be used for categorical and ordinal data.

Methods

inverse_transform

Returns the decoded categories in a column vector.

transform

Returns the encoded categories.

Inherited Methods

copy

Copies the transformation.

fit

Method to implement to fit transformation.

fit_transform

Fits and transform.

is_fitted

Returns true if transformation strategy is fitted.

reset

Method to implement to reset fitted values.