Phase 4Days 65-84

Neural Networks From Scratch to PyTorch

Micrograd, manual backprop, MLPs, initialization, optimizers, normalization, PyTorch, debugging, tracking, scaling

Phase Goal

Close the neural-network intuition gap: build autograd and backprop from scratch, then learn PyTorch training loops, debugging, tracking, and scaling basics.

Progress
Notes

Open the written lectures for this course before checking off the phase topics.

Projects
Capstone: Neural Network From Scratch to PyTorch

Day 65: Perceptrons and Computational Graphs

Day 66: Micrograd: Scalar Autograd From Scratch

Day 67: Backpropagation by Hand

Day 68: Vectorized MLP From Scratch

Day 69: Activation Functions and Signal Flow

Day 70: Initialization Theory

Day 71: Loss Functions for Deep Learning

Day 72: SGD, Momentum, RMSProp, Adam

Day 73: Normalization and Regularization

Day 74: PyTorch Tensors and Autograd

Day 75: nn.Module, Optimizers, Training Loops

Day 76: Datasets, DataLoaders, Batching

Day 77: Deep Learning Debugging

Day 78: Experiment Tracking and Configs

Day 79: MLPs for Tabular and Embeddings

Day 80: Keras and High-Level APIs

Day 81: GPU, Mixed Precision, Memory

Day 82: Distributed Training Awareness

Day 83: Deep Learning Methodology

Day 84: Capstone: Neural Network From Scratch to PyTorch

Capstone
Capstone: Neural Network From Scratch to PyTorch

Build a tiny neural net from scratch, prove gradients, then rebuild it in PyTorch and train a real classifier with debugging notes and error analysis.

  • Karpathy micrograd-style autograd
  • D2L-style math plus code
  • Scratch engine, PyTorch model, curves, and README

Phase Complete!

After this phase, you'll be able to:

  • Implement scalar autograd and manual backprop
  • Train vectorized MLPs from scratch and in PyTorch
  • Debug neural network training failures
  • Track experiments and explain learning curves

You can reason about neural nets internally instead of treating frameworks as magic. Gate: explain without notes, build one independent artifact, diagnose a deliberate failure, and repeat a changed task after a delay. Record help and repair missing prerequisites.