gpleiss/temperature_scaling

A simple way to calibrate your neural network.

50
/ 100
Established

This helps machine learning engineers and researchers fine-tune their classification models. It takes the output probabilities from a trained neural network and adjusts them so that the model's stated confidence aligns with its actual accuracy. The result is a more reliable model where the predicted probabilities are trustworthy.

1,167 stars. No commits in the last 6 months.

Use this if you need your neural network's confidence scores to accurately reflect the likelihood of correct predictions, especially for applications where trusting probabilities is crucial.

Not ideal if you are looking for a currently maintained, standalone package, as this repository is unmaintained and primarily serves as a demonstration.

machine-learning-engineering model-calibration classification-models neural-networks predictive-modeling
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 22 / 25

How are scores calculated?

Stars

1,167

Forks

169

Language

Python

License

MIT

Last pushed

Jul 26, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/gpleiss/temperature_scaling"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.