Categorical Encoder

../../../../_images/categorical_encoder.svg

Encodes all inputs into integer features, assumes that all inputs are Categorical

Configuration:
  • max_categories

    Maximum number of categories for any feature. Remaining values are encoded as 0. If None then no upper bound on number of features

Attributes:
  • categories_

    List of dictionaries that map each input feature into a categorical integer

  • inv_categories_

    List of dictionaries that map each output value into an corresponding input value

Inputs:
Outputs:
model : model

Model

Ports:

Outputs:

model:

model

Model

Configuration:

max_categories
Maximum number of categories for any feature. Remaining values are encoded as 0. If None then no upper bound on number of features

Some of the docstrings for this module have been automatically extracted from the scikit-learn library and are covered by their respective licenses.

class node_preprocessing.CategoryEncoderNode[source]