interactive book
Machine Learning
A seven-phase interactive book from the learning loop to generalization, optimization, deep networks, foundation models, agents, alignment, and evals. A first-year student should stay oriented; a graduate student should see the real machinery and the places where the field is still unsettled.
- 22
- lessons
- 7
- phases
- 21
- demos
The Learning Loop
What machine learning is, what it optimizes, and why prediction is a broader idea than forecasting.
You can describe any supervised learning system using data, model, loss, optimizer, and generalization.
Generalization and Measurement
How to know whether a model learned a pattern, memorized a sample, leaked data, or merely optimized the wrong score.
You can design train/validation/test splits, choose metrics, and explain why held-out performance matters.
Linear Models and Optimization
Boundaries, weighted votes, gradients, and the first models simple enough to understand completely.
You can derive how a line becomes a classifier and how a local update changes the decision boundary.
Deep Networks
Layers, nonlinear representations, backpropagation, initialization, optimizers, and regularization.
You can explain how a scalar loss teaches many layers and why training stability is an engineering problem.
Representations Across Space and Time
Architectures that exploit structure: images have locality, sequences have order, and attention creates content-addressed retrieval.
You can recognize the inductive bias behind CNNs, RNNs, and attention instead of memorizing architectures.
Foundation Models
Transformers, scaling laws, generation, multimodal embeddings, retrieval, and tool-using systems.
You can trace how next-token training becomes a general interface for language, images, retrieval, and tools.
- lesson 14 The Architecture of Intelligence How GPT and Friends Actually Work
- lesson 15 The Scaling Hypothesis Why Bigger Models Keep Getting Better
- lesson 16 Creating, Not Classifying From Prediction to Generation
- lesson 17 Connecting Senses When AI Sees, Hears, and Speaks
- lesson 18 Retrieval, Tools, and Agents When a Model Is Part of a System
Agents, Alignment, and Evaluation
Learning from reward, aligning behavior with human intent, evaluating deployed systems, and thinking about frontier risk.
You can reason about policies, preference models, eval suites, reward hacking, and agent reliability.