Open Agent School · Public worked example

Precision: meaning and example

Welcome! Take one idea with you today.

For a selected positive class, the fraction of predicted positives that are actually positive: true positives divided by all predicted positives.

Picture it: Of 10 messages flagged as spam, 8 are spam: precision is 8/10, or 80%.

What is easy to mix up?

High precision can coexist with many missed positives. The fraction is undefined when there are no predicted positives unless a scoring convention is specified.

Teaching example by Open Agent School. Source: Google - Machine Learning Glossary.