Skip to content

Machine Learning & AI

From statistical foundations to deep learning research and reinforcement learning. All primary textbooks are free.

Prerequisites: Linear Algebra, Calculus (through multivariable), Probability & Statistics

graph LR
    LA[Linear Algebra] --> SL[Statistical Learning]
    PS[Prob & Stats] --> SL
    SL --> DL[Deep Learning]
    C3[Calculus 3] --> DL
    DL --> RL[Reinforcement Learning]
    PS --> RL
    DL --> FM[Foundation Models]
    FM --> LLM[LLM Systems & Inference]
    DL --> LLM
    DL --> NA[Neural Architectures]
    NA --> LLM
    DL --> TPT[Training & Post-Training]
    RL --> TPT
    TPT --> LLM
    DL --> TL[tinyllm: Build an LLM]
    LLM --> TL
#TopicPrimary TextbookTime
01Statistical LearningISLR (free) + ESL (free)4-5 weeks
02Deep LearningGoodfellow et al. (free)6-8 weeks
03Reinforcement LearningSutton & Barto (free) + Spinning Up4-6 weeks
04LLM Systems & InferenceML Systems (free) + vLLM docs (free)4-6 weeks
05Foundation Models & ArchitecturesAI Engineering (Huyen) + aie-book (free)4-5 weeks
06Neural Architectures & DL HistoryCS231n (free) + AlexNet/LSTM papers (free)3-4 weeks
07Training & Post-TrainingChinchilla + DPO papers (free) + PyTorch/JAX docs (free)4-6 weeks
08tinyllm: Build an LLM from Scratchthe course: chapters you build and ol check gradescourse passes 1 to 11
  1. If you’re new to ML: start with Statistical Learning (ISLR is very accessible)
  2. If you have ML basics: jump to Deep Learning (Goodfellow)
  3. If you’re focused on alignment/AI safety: prioritize Deep Learning Ch 6-8, then RL + RLHF
  4. For quant/trading roles: Statistical Learning + RL (especially bandits and MDPs)
  5. For MLOps/infra roles: Deep Learning (transformers) → LLM Systems & Inference, pairs with Cloud Native and Data Engineering
  6. For AI engineering / GenAI roles: Deep Learning → Foundation Models & Architectures (Chip Huyen) → LLM Systems & Inference
  7. For foundations / interviews: pair Deep Learning with Neural Architectures & DL History — backprop, CNNs, RNNs/LSTM, and AlexNet derived from the math and coded from scratch
  8. For forward deployed / inference-cloud roles: follow the Superstar FDE path (practice/bin/ol learn superstar-fde), which orders this track with the AI platform and Field Engineering tracks

See Study Plan for the 18-30 week ML/AI schedule.