Calibration library and code for the paper: Verified Uncertainty Calibration. Ananya Kumar, Percy Liang, Tengyu Ma. NeurIPS 2019 (Spotlight).
141
stars
20
forks
source link
Calculate calibration error with softmax distribution and missing class #7
Closed
mpitropov closed 3 years ago
For example, this works:
But removing class 0 will give an error:
I have a simple fix I can open in a PR, but I'm not sure if it is valid.