evalml.pipelines.components.
OneHotEncoder
One-hot encoder to encode non-numeric data.
name
model_family
hyperparameter_ranges
default_parameters
Instance attributes
needs_fitting
parameters
Returns the parameters which were used to initialize the component
Methods:
__init__
Initalizes an transformer that encodes categorical features in a one-hot numeric array.”
categories
Returns a list of the unique categories to be encoded for the particular feature, in order.
clone
Constructs a new component with the same parameters
describe
Describe a component and its parameters
fit
Fits component to data
fit_transform
Fits on X and transforms X
load
Loads component at file path
save
Saves component at file path
transform
One-hot encode the input DataFrame.