AI engineering glossary · ML fundamentals

What is true risk?

True risk (also called Expected risk, Population risk): The expected loss a model would incur over the whole distribution of data it could ever meet, not just the sample it was trained on. It is the quantity we really care about but can never compute exactly; test data gives an estimate of it.

Level: advancedTopic: ML fundamentals

True risk: an example

A spam filter's true risk is its average error over every email that will ever arrive, whereas 2,000 test emails give only an estimate.

Related terms

More ML fundamentals terms

Where you learn it

True risk 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.