AI engineering glossary · Feature engineering data prep

What is IQR method?

IQR method: A rule for flagging outliers as values below Q1 - 1.5 x IQR or above Q3 + 1.5 x IQR, where IQR is the interquartile range Q3 - Q1. It relies on quartiles, so it is not distorted by the outliers it is trying to find.

Level: beginnerTopic: Feature engineering data prep

IQR method: an example

With Q1 = 20 and Q3 = 40, IQR = 20, so values below -10 or above 70 are flagged.

Related terms

More Feature engineering data prep terms

Where you learn it

IQR method 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.