Chapter 151 / 4
Evaluation: Benchmarks, Judges & Uncertainty
Implement ECE given arrays of predicted confidences and correctness
Easy
Target interface
expected_calibration_error(confidences, correct, n_bins=10)Implement the function/class skeleton in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.