AI engineering glossary · ML fundamentals

What is selection bias?

Selection bias (also called Sampling bias): A distortion that arises when the examples in a dataset are not representative of the population the model will serve, because of how they were collected or chosen. Models trained on such data can fail on the groups that were left out.

Level: intermediateTopic: ML fundamentals

Selection bias: an example

A survey taken only online overrepresents younger, urban respondents and misses many rural households.

Related terms

More ML fundamentals terms

Where you learn it

Selection bias 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.