# False positive

> Canonical: https://skillalmanac.com/glossary/false-positive | Last verified: 2026-11-25 | Index status: index-eligible

A false positive is an example classified as belonging to the designated positive class even though its assumed ground-truth label is negative.

Also called: FP.

## In plain language

A false positive is an individual classification mistake: the model predicts the positive class for an example whose assumed ground truth is negative. Its practical cost depends on what the system defines as positive.

## Technical definition

In binary classification, a false positive has a negative true label and positive predicted label. False-positive rate is FP / (FP + TN). False-discovery rate is FP / (TP + FP), while precision is TP / (TP + FP).

## How it shows up when you use agents

A false positive is an individual outcome in which a classifier predicts the designated positive class but the assumed ground-truth label is negative. The word “positive” names the class of interest; it does not necessarily mean desirable or correct.

Consider an explicitly illustrative email-routing agent. Define `spam` as the positive class and assume human-reviewed labels are the ground truth. Among 100 messages, 20 are labeled spam and 80 are labeled not spam. The classifier predicts spam for 25 messages: 15 are truly labeled spam and 10 are actually labeled not spam. Those 10 messages are false positives because the prediction is positive while the assumed ground truth is negative.

This example produces different metrics with different denominators. Precision is TP/(TP+FP), so it is 15/25 = 60%. False-positive rate is FP/(FP+TN), so it is 10/80 = 12.5%, because the 80 ground-truth negatives consist of 10 false positives and 70 true negatives. False-discovery rate is FP/(TP+FP), so it is 10/25 = 40%; here it is one minus precision.

A useful action is to declare the positive class before reading a confusion matrix, inspect representative false-positive cases and decide what those mistakes cost. If a decision threshold can change, evaluate the resulting tradeoff rather than reporting one count in isolation.

## Common confusions

A false positive is a single classification outcome or its count, not the false-positive rate. The rate asks what share of actual negatives were incorrectly predicted positive, so its denominator is FP+TN. Precision and false-discovery rate instead examine predicted positives, using TP+FP.

A confusion matrix also depends on label order and axis convention. scikit-learn defines rows by true classes and columns by predicted classes; in its binary arrangement, false positives occupy the true-negative row and predicted-positive column. Check the convention before extracting counts.

Ground truth is an assumption backed by a labeling process, not automatic certainty. If human labels are inconsistent or delayed, apparent false positives may include labeling errors. Preserve that distinction when reviewing an agent rather than treating every disagreement as conclusive model failure.

## Worked examples in this catalogue

### [llm-eval-test-sets](https://skillalmanac.com/skills/skill-almanac/llm-eval-test-sets)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Use this skill to construct and structurally validate labeled evaluation cases for an LLM feature or agent, including expected answers, graders and label-balance checks.

Why it exercises the concept: A labeled classification set can expose false-positive cases when predictions are compared with reviewed expected labels. The skill does not run the model, verify label truth or compute false-positive rates, so those steps require a separate evaluation process.

## Related terms

- [Confusion matrix](https://skillalmanac.com/glossary/confusion-matrix.md)
- [Precision and recall](https://skillalmanac.com/glossary/precision-and-recall.md)
- [F1 score](https://skillalmanac.com/glossary/f1-score.md)
- [Ground truth](https://skillalmanac.com/glossary/ground-truth.md)
- [Classification](https://skillalmanac.com/glossary/classification.md)

## Sources

- [Machine Learning Glossary: False positive (FP)](https://developers.google.com/machine-learning/glossary#false-positive-fp), Google for Developers (accessed 2026-11-25)
- [confusion_matrix](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.confusion_matrix.html), scikit-learn (accessed 2026-11-25)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
