# Precision and Recall

Precision asks how many of the payments a fraud check flagged were really fraud, TP divided by TP plus FP, and recall asks how much of the fraud it caught, TP divided by TP plus FN, and which one matters more depends on what each kind of mistake costs, worked out by hand or with precision_score and recall_score.

![Cheat sheet: Precision and Recall](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/27a001418abd43dfa376ac72fce128ad.webp)

- Category: Machine Learning
- Level: Journeyman
- Tags: ai, False Negative, False Positive, Precision, python, Recall (ai)
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/ml-precision-and-recall-cheat-sheet
