Skip to content

Glossary: ML Basics

SimpleImputer

Also written: add_indicator, add_indicator=True

A transformer that fills gaps with the mean, median, most frequent value or a constant, learned from training rows. With add_indicator=True it also adds a 0/1 column marking which rows had a gap.

Where the book teaches it

Related terms

Imputation