FoundryML · The Interactive Guide to Applied ML
Machine learning, explained with pictures.
Short interactive courses, from the maths up to transformers and LLMs. Plain language, figures you can play with, and real PyTorch.
Foundations
Start here
How this book works, a map of machine learning, and setting up Python and PyTorch.
Coming soon
Maths toolkit
The maths the rest of the book uses: vectors, matrices, derivatives, integrals and probability. Explained with pictures, not proofs.
17 lessons
PyTorch primer
The PyTorch you need for the rest of the book: tensors and shapes, linear algebra, autograd, randomness, and keeping numbers stable. Each chapter reuses examples from the Maths toolkit.
6 lessons
Learning from data
ML fundamentals
The classic toolkit: regression, classification, trees and boosting, kernels, probabilistic models, clustering, and how to tell if a model really works.
22 lessons
Neural-net foundations
Build a network from one neuron, train it properly and debug it. Then a tour of the other building blocks: convolutions, recurrence, attention, embeddings, autoencoders and graphs.
15 lessons
Learning to decide
Reinforcement learning
Learning to act by trial and error, from planning in small worlds up to the deep RL methods used today.
Coming soon
Games
Decisions when other players are deciding too: best responses, equilibrium, and learning to play.
Coming soon
Auctions and mechanism design
How auctions work and how to design them, from first- and second-price auctions to the auctions behind online ads.
Coming soon
Causal inference
Telling cause from correlation: experiments, confounding, and estimating what would have happened if you'd acted differently.
Coming soon
Deep learning
Convolutional networks
Networks built for images: small filters that slide across a picture, and the tricks that let deep ones train.
Coming soon
Autoencoders
Networks that learn to squeeze data down and rebuild it, and what they learn along the way.
Coming soon
Generative models
Models that create: from autoencoders to GANs and the diffusion models behind image generation.
Coming soon
Language and sequences
Turning text into numbers, and predicting the next word.
Coming soon
Transformers
Attention and the transformer, built up step by step.
Coming soon
BERT and encoder models
Models that read a whole sentence at once, and how they're used for search and classification.
Coming soon
Large language models
How large language models are built, trained, tuned with human feedback, and used.
Coming soon
ML in production
LLM systems and evals
Building products on language models, and measuring whether they actually work.
Coming soon
Serving and deployment
Getting a model into production: serving, batching, caching, scaling and monitoring.
Coming soon
Hardware for ML
What GPUs actually do, where the memory goes, and how models are split across machines.
Coming soon