Reference
What changed.
New chapters and features, newest first.
Every exercise in one place, and a playground
- The new exercises page lists all the book's exercises, chapter by chapter. Tick a kind to show only the ones done by hand, with a figure, in code, or by thinking.
- The playground gathers the interactive figures by topic, from fitting a line to training a network, with links to the chapters that explain them.
- A new start-here page sets out the order to learn machine learning in, and answers the usual first questions.
- Every chapter is also available as plain Markdown, for reading with an AI assistant or other tools. The list is at /llms.txt.
Part II: Classification, and the Toolkit
- Five chapters on classification, from logistic regression to support vector machines.
- Three toolkit chapters covering the vectors, derivatives and probability the book uses.
A cover you can play with
- The front page has a live figure to try, and shows returning readers where they stopped.
- Every chapter has a fifth exercise that sends you back to one of its figures.
- On a phone, definitions open as a sheet at the bottom, and a plot stays in view while you use its controls.
- Table headings no longer capitalise symbols, and small grey text is easier to read.
Exercises in every chapter
- Every chapter now ends with four exercises and worked solutions, a list of what you can now do, and a common mistake to avoid.
- Glossary, notation and search pages. Terms link back to the chapter that introduces them.
- Reading progress is remembered in your browser.
- Pages with region maps load up to eight times faster.
A map you can read, and more to try on the cover
- The map now lists the chapters by name. Pick one to see what to read first, what comes next, and how many minutes stand between you and it.
- The cover shows one of four small figures, a different one each visit.
- Reading times adjust to your own pace once you have finished two chapters.
- The end of each chapter sums up your checkpoints and exercises there.
- Key terms on the recap page link to the glossary, and a mistyped address suggests the chapter you meant.
Part IV: Neural Networks
- Eight chapters that build a neural network from a single neuron up to a classifier for pictures of clothing.
- A short Python file for each chapter, which can be opened in Colab.
A better phone view
- A bar at the top of every page with search, text settings and a menu. On a phone it slides away while you read.
- The home page shows your progress in one place once you have finished a chapter.
- The glossary can be filtered as you type.
Reading comfort and study tools
- Search opens over any page with the / key, and there are keyboard shortcuts for moving around (press ? to see them).
- Reading settings for text size and dark colours.
- Exercises can be ticked off and have hints; missed checkpoint questions are collected on a review page.
- A recap page with every chapter's key points, and a map of how the chapters depend on each other.
- Pages you have opened stay readable without a connection, and chapters print cleanly.
Figures work with a finger
- The handles in figures can now be dragged on a touch screen. Before this, touching one scrolled the page instead.
The book is rebuilt
- A new site with interactive figures in every section.
- Part I: Learning from Data, in five chapters.