From Neuron to Network: The Multi-Layer Perceptron
This is where AI stops being "statistics with computers" and becomes something genuinely new. A neural network does something the classical models of the last quarter could not: i…
Neural Networks and Deep Learning Fundamentals covers: From Neuron to Network, Backpropagation and Computation Graphs, Making Deep Networks Train, Convolutional Neural Networks, Transfer Learning, and the Opacity of Deep Networks. Year 4, Quarter 15. Includes 13 exercises and 3 projects.
This course unlocks once you've finished its prerequisite. Open prerequisite →
Complete prerequisites first to enroll.
This is where AI stops being "statistics with computers" and becomes something genuinely new. A neural network does something the classical models of the last quarter could not: i…
The last lesson built a network and ran the forward pass — but a fresh network has random weights and predicts garbage. Learning means adjusting those weights (often millions or b…
The last lesson ended on a warning: deep networks are hard to train, because gradients vanish or explode as they propagate back through many layers. This lesson is the toolkit tha…
The classical-ML course drew a hard line: tabular data → boosted trees; unstructured data (images, text, audio) → deep learning. This lesson is the first payoff of the "unstructur…
Two things close out the deep-learning fundamentals — one intensely practical, one deeply honest. The practical one is transfer learning, and it's the technique that makes deep le…
- [ ] Karpathy Lecture 1: Build micrograd — Implement scalar-valued autograd engine, train a tiny neural net from scratch - [ ] Implement a perceptron in Python — AND, OR, XOR gat…
- [ ] Karpathy Lecture 2: Build makemore Part 1 — Bigram character-level language model with counting - [ ] Karpathy Lecture 3: Build makemore Part 2 — MLP language model, train/d…
- [ ] Karpathy Lecture 6: Build makemore Part 5 — WaveNet-like architecture with dilated causal convolutions - [ ] Implement a CNN from scratch in PyTorch — Convolution, pooling, …
- [ ] Build a digit classifier — Train a CNN on MNIST from scratch in PyTorch: convolutional layers, batch norm, dropout, Adam optimizer; achieve >99% accuracy; deploy as a Flask …
Follow Karpathy's lecture 1 and build a scalar-valued autograd engine from scratch. Then extend it: add tanh, exp, and log operations. Train a small MLP on a binary classification…
Follow Karpathy's lectures 2-4. Build a character-level language model: bigram (counting), then MLP, then with proper BatchNorm and initialization. Generate names from each model …
- [ ] Milestone 1: Train nanoGPT on a custom text corpus (>1MB of text) - [ ] Milestone 2: Implement temperature, top-k, and top-p sampling for generation - [ ] Milestone 3: Train…
- [ ] Explain backpropagation. How does the chain rule enable gradient computation through layers? - [ ] What are vanishing and exploding gradients? How do ReLU and batch normaliz…
13 lessons. Read in order; spiral back when you need to. By the end you'll have used the core ideas twice — once on the abstract, once on something you'll meet at work next week.