AI & ML
Neural Networks
Part of Deep Learning, level 3. About 20 hours of study across the topics below.
1Neuron
- The Artificial NeuronWeighted sum, then nonlinearity: the single unit everything stacks from. 1–2 h
- Affine Transformationsw dot x plus b, as geometry: the linear stage before the bend. 1–2 h
- Activation FunctionsThe bend that makes depth matter: why linearity stacks flat, and sigmoid/ReLU/GELU roles. 1–2 h
2Architecture
- Layers and Multilayer CompositionStacking as function composition: depth builds features from features. 1–2 h
- The Multilayer PerceptronThe full map: layers, widths, parameter counts, and what an MLP can represent. 1–2 h
- Forward PropagationOne honest pass: six weights, three biases, every value worked. 1–2 h
- Tensors and Batched ComputationShapes, batch dimensions, and broadcasting: how a layer processes many examples at once. 1–2 h
- Universal Approximation and the Role of DepthWhy one wide hidden layer can approximate any continuous function, and why depth is still more efficient. 1–2 h
3Gradients
- Computational GraphsNodes compute, edges carry: the shared structure behind forward and backward passes. 1–2 h
- The Chain Rule in Neural NetsLocal derivatives along paths: how one edge's nudge propagates to the loss. 1–2 h
- BackpropagationCredit flows backward: exact gradients for every edge via the chain rule, once. 1–2 h
- Gradient Flow and DepthSignals fade or explode across layers: multiplicative paths and their perils. 1–2 h
- Automatic DifferentiationHow frameworks compute gradients: forward-mode vs reverse-mode accumulation over a recorded graph. 1–2 h
4Training
- InitializationWhere weights start decides whether signals survive: scale intuition for init schemes. 1–2 h
- Normalization LayersRe-centering activations mid-net: BatchNorm and LayerNorm roles without the folklore. 1–2 h
- Training DynamicsReading the trace: what loss curves confess about rate, data, and architecture. 1–2 h
- Learning-Rate SchedulesRates that adapt over time: decay, warmup, and what each phase buys. 1–2 h
- DropoutNoise as regularization: training thinned nets, testing the whole one. 1–2 h
- Residual ConnectionsSkip paths that let depth grow: identity shortcuts as gradient highways. 1–2 h
- Training InstabilityWhen training breaks: divergence, NaNs, and reading the wreckage. 1–2 h
