evalml.pipelines.components.SimpleImputer

class evalml.pipelines.components.SimpleImputer(impute_strategy='most_frequent')[source]

Imputes missing data with either mean, median and most_frequent for numerical data or most_frequent for categorical data

Methods

__init__

Initialize self.

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