markus93/NN_calibration

Could you please share the code to plot ECE histogram?

liming-ai opened this issue · 2 comments

Could you please share the code to plot ECE histogram?

Hey!

Here is a link to a notebook for generating reliability diagrams. Check the "rel_diagram_sub2" function, the "accs" correspond to the average accuracies for each bin, and "confs" correspond to the average confidence of each bin.

All the best,
Markus

Hey!

Here is a link to a notebook for generating reliability diagrams. Check the "rel_diagram_sub2" function, the "accs" correspond to the average accuracies for each bin, and "confs" correspond to the average confidence of each bin.

All the best, Markus

Thanks a lot!