Hands-on Tutorials

Python’s «predict_proba» Doesn’t Actually Predict Probabilities (and How to Fix It)

How to assess and repair probability miscalibration

Samuele Mazzanti
Towards Data Science
8 min readMay 6, 2021

--

[Image by Author]

Data scientists typically evaluate their predictive models in terms of accuracy or precision, but hardly ever ask themselves:

“Is my model capable of…

--

--

Applied Scientist | I write original content for data science practitioners.