Probability calibration turns model scores into true interpretable probabilities. Platt scaling fits a logistic regression on the raw score:
P(y=1∣x)=1+exp(Af(x)+B)1, with parameters
A and
B estimated by maximum likelihood on a separate validation set — suitable for models whose scores are monotonically but sigmoidally distorted (SVM, GBDT). Isotonic regression fits a non-parametric monotone mapping on the validation set; it is more flexible but needs more data and overfits more easily. Evaluation tools: the Brier score
BS=N1∑i=1N(pi−yi)2 (lower is better) and reliability diagrams (bucket predictions by probability and compare average prediction with actual frequency).