Classification Probability
What models output per class, how they produce it, and the measured gap between a number in [0, 1] and a number you can act on.
What models output per class, how they produce it, and the measured gap between a number in [0, 1] and a number you can act on.
A single parameter that softens or sharpens a network’s probabilities without touching which class it picks — and what that single parameter cannot fix.
The same logits read [0.9817, 0.0180, 0.0003] at temperature 0.25 and [0.3672, 0.3322, 0.3006] at temperature 10.
At x = 9, a local slope estimate suggests -81.05 for a 0.01 output decrease. The exact input change is about -4.42; the derivative is only local.
The logits [2, 1, 0] and [102, 101, 100] produce identical probabilities of [0.6652, 0.2447, 0.0900]. Only the gaps between them are identified.
Extend binary logistic regression to many classes with softmax, cross-entropy, and a numerically stable NumPy implementation.