MNIST Neural Network
6 min read.
A small neural network, drawn in 2D, reads simple 5×5 pictures of digits. Step through one picture to see each hidden unit add up the pixels it cares about and the output layer turn the result into ten probabilities. Then flip a few pixels to watch the confidence shrink, and replay how the weights were learned. A link opens a separate 3D tool trained on real MNIST handwriting, where you draw a digit and watch activations flow through a 3D network (its interface is in German: Ziffer zeichnen means draw a digit).
A 5 by 5 picture of a 3. Each of the 25 pixels is a number, 1 for dark and 0 for light.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Classify one digit
Order the path of a 28×28 image through the network.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
- 1Drop a step here
- 2Drop a step here
- 3Drop a step here
- 4Drop a step here
- 5Drop a step here
- 6Drop a step here
Quiz
20 questionsThe MNIST dataset consists of…
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.