AI engineering glossary · Feature engineering data prep

What is median imputation?

Median imputation: Replacing missing values in a numeric column with the median, the middle value. It is less affected by outliers than the mean, so it is better for skewed features such as income.

Level: beginnerTopic: Feature engineering data prep

Median imputation: an example

With incomes of 20k, 25k, 30k and 5,00k, the median is 27.5k, a more typical fill than the mean of 143.8k.

Related terms

More Feature engineering data prep terms

Where you learn it

Median imputation is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.