The whole process on one sheet
The RL branch (R–T) sees the same 1,437 training images as the supervised branch. Why does the map count 0 labels for it, and what is the most information one trial can carry?
Step by step
At step K the loss of an untrained softmax model (all weights zero) is exactly ln 10 ≈ 2.303 on every image. Why, and what is the gradient with respect to the logits at that point?
All 26 steps in one table
| step | phase | what happens | input | output | key figure |
|---|
Running example: the UCI optical handwritten digits (scikit-learn load_digits): 1,797 images of 8 × 8 pixels, grey levels 0–16, 10 classes, split 1,437 train / 360 test. Softmax regression has 10 × 64 + 10 = 650 parameters; k-NN stores 1,437 × 64 = 91,968 numbers.