evalml.pipelines.components.OneHotEncoder¶
-
class
evalml.pipelines.components.OneHotEncoder(top_n=10, random_state=0)[source]¶ One-hot encoder to encode non-numeric data
-
name= 'One Hot Encoder'¶
-
model_family= 'none'¶
-
hyperparameter_ranges= {}¶
Instance attributes
Methods:
Initalizes self.
Describe a component and its parameters
Fits component to data
Fits on X and transforms X
Returns names of transformed and added columns
One-hot encode the input DataFrame.
-