# Moving the Threshold

Lowering a classifier's threshold below 0.5 flags more payments, so recall goes up and precision usually goes down, precision_recall_curve and PrecisionRecallDisplay show the whole trade, and you choose the threshold from what each mistake costs, on validation data set aside for choosing, then score the test data once.

![Cheat sheet: Moving the Threshold](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/3984a483b3514086b76e73d06d73ffc1.webp)

- Category: Machine Learning
- Level: Freelancer
- Tags: ai, Decision Threshold, Precision-Recall Curve, predict_proba(), python, Recall (ai), Validation Set
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/ml-thresholds-and-tradeoffs-cheat-sheet
