Model Calibration: Loss Bounds & ACE Metric

Medium · ML Coding

Derive single-example cross-entropy bounds for correct ([0, log K]) and incorrect ([log 2, inf)) predictions, implement classwise and top-label Adaptive Calibration Error (ACE) with equal-mass bins, and smooth noisy reliability curves via Gaussian kernel regression.

This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.

See Pro plans

More OpenAI problems