Course
Neural Networks from Scratch
Take the tiny autograd engine from Zero to GPT and build a real, trainable multi-layer perceptron with it — initialization, activations, backprop, gradient checking, every major loss function, batching, and generalization, ending with a 3-class spiral capstone that puts every idea to work at once.
Module: Setting Up a Network
Module: Backpropagation & Gradient Flow
Lesson 6
Backpropagation: The Chain Rule, by Hand
How gradients flow backward through a chain of operations, the algorithm that trains every neural network.
Lesson 7
Vanishing and Exploding Gradients
The chain rule multiplies. Chain enough small numbers and you get zero; enough large ones and you get infinity.
Lesson 8
Gradient Checking
How do you know your hand-derived backward pass is actually correct?
Module: Choosing a Loss Function
Lesson 9
A Loss Function for Classification
Turning 'right or wrong' into a number the network can take a derivative of.
Lesson 10
A Loss Function for Regression
Not every target is a category. Sometimes the network needs to predict a number.
Lesson 11
Multi-Class Classification: Softmax and Cross-Entropy
Generalizing 'confidently correct = low loss' from one output neuron to K classes at once.
Module: Generalization