// Algorithm learning path
Zero to Deep Learning
From linear regression all the way to ResNet and the precursors of the Transformer — build intuition for how models are trained.
Level
4 steps24 algorithms5 course units
01Steps
Each step builds on the one before. Open any card for the paper and resources.
Start: learning is minimising a loss
Linear Regression Fits a line (hyperplane) between inputs and a numeric output. core Logistic Regression Turns a linear score into a probability with a sigmoid for binary classification. 1958core Stochastic Gradient Descent (SGD) Steps downhill using gradients estimated on small mini-batches. 1951coreThe classical model toolbox
Decision Trees (CART) Splits data with a sequence of yes/no questions into pure groups. core Random Forest Trains many randomized decision trees and lets them vote. 2001core Gradient Boosting (GBDT) Adds small trees one by one, each fixing the previous ensemble's errors. 2001core XGBoost A highly engineered, scalable gradient-boosted tree system. 2016core Support Vector Machine Finds the decision boundary with the widest margin between classes. 1995core k-Nearest Neighbors Predicts by majority vote of the k closest training examples. 1967core k-Means Clustering Alternates assigning points and recomputing centers to form k clusters. 1982core Principal Component Analysis (PCA) Reduces dimensions by keeping directions of greatest variance. 1901coreNeural networks and training
Perceptron The first artificial neuron: weighted sum followed by a threshold. 1958core Backpropagation Computes every parameter's gradient by applying the chain rule backward. 1986core Adam A momentum optimizer with per-parameter adaptive step sizes. 2014core AdamW (Decoupled Weight Decay) Decouples weight decay from Adam's gradient update. 2017core Dropout Randomly drops neurons during training to prevent overfitting. 2012core Batch Normalization Normalizes activations across a batch to stabilize deep training. 2015core Layer Normalization Normalizes within each example instead of across the batch. 2016coreClassic network architectures
Convolutional Neural Network (CNN) Slides small learned filters to detect local patterns, composed layer by layer. 1998core Residual Networks (ResNet) Skip connections let signals bypass layers, making very deep nets trainable. 2015core Long Short-Term Memory (LSTM) A gated recurrent network that preserves long-range information. 1997core Sequence-to-Sequence Learning An encoder reads a sequence and a decoder generates another. 2014core Word2Vec Learns word vectors by predicting words from context. 2013core Attention (Bahdanau) Lets the decoder look back at the most relevant input positions. 2014core
02Course units for this path
Goals, projects and self-tests that go with these algorithms.
03Other paths
- 1Understanding an LLM End to End · From tokenisation to the Transformer, modern architectures, pre-training and inference — every part of an LLM, in nanoGPT order.19
- 2Post-training & Reasoning Models · From instruction tuning and LoRA to RLHF and DPO, then GRPO, RLVR and DeepSeek-R1 — how ChatGPT and o1/R1 are made.19
- 3AI Application Engineer · For product engineers: retrieval, RAG, agents, inference serving and security — turn AI into reliable applications fast.20
- 4Generative Models & Frontier Research · Diffusion/flow matching, multimodality, new architectures, world models and interpretability — the most active research areas of 2024–2026.26