Categorical Encoder¶
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
Input ports:
- Output ports:
- model : model
- Model
- max_categories (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.