What is model calibration? It is the degree to which a model's predicted probabilities match observed outcomes. If a classifier assigns an 80% probability to an event across many comparable cases, roughly 80% of those events should happen. Calibration tells you whether a confidence score is a useful estimate of likelihood, not whether the model made the right call on any one input.
Consider a support-ticket router deciding whether a message belongs in the billing queue. It receives the text, “I was charged twice,” and returns a billing probability of 0.80. That number becomes meaningful only when you compare similar predictions with verified labels. A polished interface showing “80% confident” is not evidence that the estimate is reliable.
Calibration is not the same as accuracy
Accuracy asks how often the predicted class matches the label. Calibration asks whether predicted probabilities correspond to frequencies. A model can be accurate but overconfident, or less accurate but well calibrated.
Suppose a router assigns 0.90 billing probability to 100 tickets, and 75 really are billing tickets. In this illustrative batch, its average confidence is 90%, but the observed billing rate is 75%. That is overconfidence. If 90 of the 100 were billing tickets, the batch would be calibrated at that confidence level. Neither result proves calibration at other probability levels.
The distinction matters when a product uses different actions for different scores. A router might automatically send high-confidence tickets to a queue, ask a clarifying question for middling scores, and send uncertain cases to a human. Bad probabilities can make those boundaries look safer than they are.
What is model calibration measured against?
Start with labeled examples that resemble the traffic the system will actually receive. Each record needs the input, the model's probability, the eventual ground-truth label, and enough context to investigate failures. For ticket routing, the label might come from a reviewed final ticket category rather than the model's initial assignment.
Keep evaluation data separate from both model training and any data used to fit a calibration method. Otherwise, the scores can look better on paper than they do on new inputs. If traffic changes over time, a later time-based test set can help reveal whether the estimates hold up on future-like data.

A reliability diagram is a useful first inspection. Group predictions into probability ranges, such as 0.70 to 0.80. For each group, plot the average predicted probability against the fraction of positive outcomes. Points near the diagonal indicate agreement within those groups. Always include the number of examples in each bin: a bin with five tickets cannot support the same conclusion as one with thousands.
For multiclass routing, be explicit about what you are measuring. You can assess the probability assigned to a particular class, such as billing, or assess confidence in the top predicted class against whether that prediction was correct. Those views answer different questions and can expose different problems.
Metrics worth putting on the workbench
Expected calibration error, or ECE, summarizes the gap between confidence and observed frequency across bins, weighted by the number of predictions in each bin. A lower value is generally better, but the result depends on binning choices. A single ECE can hide a poorly calibrated high-confidence region, exactly where an automated workflow may be most exposed.
The Brier score averages the squared difference between predicted probability and the actual binary outcome, coded as 0 or 1. It rewards useful probability estimates, but it reflects discrimination as well as calibration. A better Brier score alone does not prove that every confidence range is better calibrated.
Log loss is another probability-sensitive metric. It penalizes confident wrong predictions heavily, which is useful when a 0.99 score on a wrong routing decision would be costly. Like the Brier score, it is not a pure calibration measure. Read it alongside a reliability diagram and the actual decisions made at your intended thresholds.
No metric fixes bad labels. If reviewers disagree about whether a refund request is billing or account support, document that ambiguity. Measure reviewer agreement where practical, and inspect examples near category boundaries instead of treating every label as unquestionable truth.
How to improve a confidence estimate
A common approach is post-hoc calibration: fit a separate mapping from the original scores to adjusted probabilities using held-out labeled data. Platt scaling fits a parametric sigmoid mapping. Isotonic regression fits a flexible monotonic mapping, but can overfit when calibration data is limited. Temperature scaling adjusts logits with a single temperature parameter and is often used for neural classifiers.

The workflow is straightforward: train the classifier, generate scores on a separate calibration set, fit the mapping, then evaluate the complete system on an untouched test set. Compare reliability plots and probability metrics before and after. The calibration set needs to represent the deployment problem; a clean benchmark alone may not reflect abbreviated messages, new products, or adversarial inputs.
Post-hoc methods change reported probabilities; they do not add missing information to the input or guarantee better classification accuracy. They also cannot promise reliable confidence after a distribution shift. A surge in a new kind of ticket can break an otherwise reasonable mapping.
Turn calibrated scores into decisions
Choose thresholds using the costs of mistakes, not the visual appeal of a confidence number. Sending a billing request to the wrong queue may add a delay; automatically rejecting a fraud appeal could have a much higher cost. For each proposed threshold, measure the share handled automatically, the errors among those cases, and the volume sent for review.
Evaluate important slices separately: language variants, short messages, new customer workflows, and any other groups relevant to the product. A model can look calibrated overall while being overconfident on a small but consequential slice. Small samples make those slice estimates uncertain, so report counts and avoid sweeping conclusions.
After launch, log predictions and model versions, track when trustworthy labels arrive, and compare recent reliability with the evaluation baseline. Monitor latency and reviewer workload too: accurate probabilities do not help if the fallback queue cannot keep up. When labels are delayed or missing for automatically handled cases, plan an audit sample; otherwise, monitoring may only describe the cases humans already reviewed.
The practical standard is simple: show the input, the decision, the score, and the outcome. Then ask whether the evidence supports the action attached to that score. Calibration makes confidence more interpretable; it does not turn confidence into a guarantee.