evalml.pipelines.components.DropColumns¶
-
class
evalml.pipelines.components.
DropColumns
(columns=None, random_seed=0, **kwargs)[source]¶ Drops specified columns in input data.
-
name
= 'Drop Columns Transformer'¶
-
model_family
= 'none'¶
-
hyperparameter_ranges
= {}¶
-
default_parameters
= {'columns': None}¶
Instance attributes
needs_fitting
parameters
Returns the parameters which were used to initialize the component
Methods:
Initalizes an transformer that drops specified columns in input data.
Constructs a new component with the same parameters and random state.
Describe a component and its parameters
Fits the transformer by checking if column names are present in the dataset.
Fits on X and transforms X
Loads component at file path
Saves component at file path
Transforms data X by dropping columns.
-