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.

By

Updated

Cheat sheet: Probabilities and the 0.5 Line
Category
Machine Learning
Level
Journeyman
Tags
ai, Decision Threshold, Logistic Regression, predict_proba(), Probability, python