Experimental repository for the paper Structured Matrix Scaling for Multi-Class Calibration.
Uses the probmetrics package to benchmark new logistic post hoc calibration functions against existing baselines.
- Post hoc calibration on binary tabular datasets:
benchmark_binary.pyruns the benchmark and figures are generated inresults_binary.ipynb. - Post hoc calibration on multiclass tabular datasets:
benchmark_multiclass.pyruns the benchmark and figures are generated inresults_multiclass.ipynb. - Post hoc calibration on multiclass computer vision datasets:
benchmark_vision.pyruns the benchmark and figures are generated inresults_vision.ipynb.
A hyperparameter search to find a default menu of regularization parameters for SVS and SMS is performed in hyperparameter_search.ipynb.
Prediction on tabular datasets that we use in our benchmark are from TabRepo.
Logits for the computer vision benchmark come from NN_calibration.