evalml.pipelines.components.SimpleImputer

Inheritance diagram of SimpleImputer
class evalml.pipelines.components.SimpleImputer(impute_strategy='most_frequent', fill_value=None, random_state=0, **kwargs)[source]

Imputes missing data according to a specified imputation strategy.

name = 'Simple Imputer'
model_family = 'none'
hyperparameter_ranges = {'impute_strategy': ['mean', 'median', 'most_frequent']}
default_parameters = {'fill_value': None, 'impute_strategy': 'most_frequent'}

Instance attributes

parameters

Returns the parameters which were used to initialize the component

Methods:

__init__

Initalizes an transformer that imputes missing data according to the specified imputation strategy.”

clone

Constructs a new component with the same parameters

describe

Describe a component and its parameters

fit

Fits imputer to data

fit_transform

Fits on X and transforms X

transform

Transforms data X by imputing missing values