Home▸Data Science▸Temperature Scaling Reliability Diagram before and after Calibration (2D)

Temperature Scaling Reliability Diagram before and after Calibration (2D)

The same temperature scaling on a flat plot: reliability points and curves before and after calibration against the diagonal, with NLL, calibration error and temperature bars.

Data Science2DAdvanced60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Temperature Scaling Reliability Diagram before and after Calibration (2D) ↗ Open standalone

A classifier that says "80% confident" should be right about 80% of the time — most aren't. This simulator generates a synthetic classifier's predicted probabilities from a controllable confidence slope, renders a real 3D reliability diagram (confidence bars vs. accuracy bars against the perfect-calibration diagonal), and lets you apply Platt scaling or isotonic regression to recalibrate it, watching Brier score, Expected Calibration Error and Maximum Calibration Error update live as the bars move.

⚙ Under the hood

The same temperature scaling on a flat plot: reliability points and curves before and after calibration against the diagonal, with NLL, calibration error and temperature bars.

Temperature ScalingProbability CalibrationReliability DiagramExpected Calibration ErrorOverconfidence

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)