Cross-Entropy, Honestly
Worked numerical examples of cross-entropy, per-row surprise, and batch averages with live tensors and checked exercises.
Cross-entropy row by row
Compute per-row surprise, batch averages, and probability losses on small inspectable tables.
- Surprise Adds Over Rows
why negative log-probabilities add across independent observations
- One Small Probability Raises the Mean
why one tiny true-class probability dominates a batch average
- The Average Hides the Row
why reporting only the batch mean conceals individual failures
- Same Correct Count Can Have Different Loss
why hard correct counts stay flat when confidence moves