Sulba
ReviewSign inAccount
Theme
Editor theme
Light
Dark

Intermediate · Neural networks from scratch

Layers and backpropagation

Build a network from layers in NumPy: linear layers, ReLU and a cross-entropy loss, each with a backward pass whose gradients match PyTorch's, and train it to read handwritten digits from people whose writing it has never seen.

You build
layers.py, then network.py, then train.py
Stages
3 Build, 1 Catch, 1 Ship
Time
About 4 hours

Loading the workspace…