evalml.pipelines.components.SimpleImputer

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

Imputes missing data according to a specified imputation strategy

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

Instance attributes

Methods:

__init__

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

describe

Describe a component and its parameters

fit

Fits component to data

fit_transform

Fits imputer on data X then imputes missing values in X

transform

Transforms data X by imputing missing values