# Precision (Machine Learning)

> When a model says yes, how often it is right. Few false alarms means high precision.

**Field:** Artificial Intelligence  
**Category:** Evaluation & Benchmarks  
**Also known as:** Precision, Positive Predictive Value

## Think of it like

It is like a fisher who keeps only real fish. Few old boots in the net means high precision.

## Definition

Precision is how often a model is right when it says yes. Out of all the cases it marked as yes, it is the share that really were yes. A spam filter with 95% precision is wrong only 5 times in 100 when it calls something spam. High precision means few false alarms. It matters most when a false alarm is costly, such as sending a real email to the spam folder.

## Example

Emma's spam filter flags 200 emails. 190 really are spam and 10 are real mail, so its precision is 95%.

## Why it matters

It tells you how far you can trust a yes. That matters when acting on a wrong yes hurts someone.

## Common mistake

Pushing precision up and not watching recall. A model that says yes just once, and is right, has 100% precision but misses almost all.

## Three principles

- **Trust in a yes.** Right when it says yes.
- **Few false alarms.** High precision.
- **Pairs with recall.** Watch both.

## Related terms

- [Recall (Machine Learning)](https://learn.benibix.com/term/ai/recall)
- [Accuracy (Machine Learning)](https://learn.benibix.com/term/ai/accuracy)
- [F1 Score](https://learn.benibix.com/term/ai/f1-score)
- [Confusion Matrix](https://learn.benibix.com/term/ai/confusion-matrix)
- [Decision Threshold](https://learn.benibix.com/term/ai/decision-threshold)

## Told apart from

- [Precision vs Recall](https://learn.benibix.com/compare/precision-vs-recall): People often think precision and recall are two words for how good a model is. They measure two different mistakes. Precision asks: when the model says yes, how often is it right? Recall asks: of all the real yes cases, how many did it find? Raising one usually lowers the other, so you choose based on which mistake costs more.
- [Accuracy vs Precision](https://learn.benibix.com/compare/accuracy-vs-precision): People often use accuracy and precision as if they mean the same thing. In machine learning they do not. Accuracy is the share of all answers that are right. Precision looks only at the yes answers, and asks how many of them were right. A model can be 99% accurate and still have low precision, when real yes cases are rare.

![A circle holds everything the model marked as yes. Most of the items inside are real yes cases, and a few are false alarms. Precision is the share inside that is real.](https://learn.benibix.com/diagrams/ev-precision.svg)

---

Source: https://learn.benibix.com/term/ai/precision
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
