WRITE · TRACE · UNDERSTAND
Select temperature on a held-out calibration split
Evaluate stable mean multiclass log loss for each distinct positive finite temperature in grid.
Read lesson: Select temperature on a held-out calibration split →
Your experiment
Evaluate stable mean multiclass log loss for each distinct positive finite temperature in grid. Divide logits by temperature; choose minimum loss with smaller temperature breaking exact ties. Return temperature and loss. Require aligned nonempty rectangular finite logits with >=2 classes and integer target identities. These inputs are calibration data, never training or final test labels.
Python runs in your browser. Your draft stays on this device.
What to look for
Keep calibration, model development and final evaluation populations separate. Inspect subgroup calibration and proper scoring rules rather than only classification accuracy.
Watch your code work
Ready to experimentWrite a solution or load the worked answer, then choose Trace & check.
Step through arrays, variables and training curves produced by your own Python.
