A mean loss is exact, but it can hide which row supplied the large contribution. This lesson keeps the row losses visible before summarizing.
highlighted = computed this step
Show the row losses
Use 3 displayed rows with exact losses 1, 1, and 7 bits. These are pinned row losses for this summary lesson.
row bits=(1,1,7)
Add the exact sum
The first two rows add 1 bit each. The third row adds 7 bits, so the exact sum is 9 bits.
1+1+7=9
Average the rows
The mean is 9 bits divided by 3 rows, which is exactly 3 bits.
39=3
The row is still visible
The mean 3 is exact, but the table shows row 3 contributed 7 of the 9 bits. This is loss-summary arithmetic only: NOT accuracy, NOT calibration, NOT training, NOT learning, NOT generalization, NOT probability truth, NOT model quality.