Module 15
Neural network from scratch
neuron, gradient, backpropagation, training
When you finish this module you can say:
I can build a neural network with no library and train it with backpropagation, and I can explain what every line of a PyTorch training loop does.
By the end of this module you'll be able to train a neural network that recognizes handwritten digits, entirely from scratch with NumPy, no AI library involved.
StartLessons
6 lessons · ≈ 60 min
- The neuron: weight, bias, activation8 min
- Loss and slope9 min
- micrograd: backpropagation11 min
- A multi-layer network and the training loop10 min
- A vectorized network with NumPy10 min
- Project: digit recognizer12 min · project
Practice exercises
Short writing exercises, independent of the lessons: Go to the exercises