# Probabilities and the 0.5 Line

predict_proba gives each example one probability per class, in the order of classes\_, predict picks the class with the highest one, which for two classes is a line at 0.5, and the probability is the model's confidence, not a guarantee, so you can draw the line somewhere else when the job needs it.

![Cheat sheet: Probabilities and the 0.5 Line](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/6dc0c7e33a7946619adf00a7b922ce90.webp)

- Category: Machine Learning
- Level: Journeyman
- Tags: ai, Decision Threshold, Logistic Regression, predict_proba(), Probability, python
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/ml-predicted-probabilities-cheat-sheet
