Neural networks, from first principles

A hand-held tour through the linear algebra, calculus, and engineering that make a neural network actually learn. Every chapter has runnable demos right next to the math — no faith required.

How to use this guide

Read the chapters in order if you're new — each one builds on the previous. Every concept appears in three forms: the equation (so you can be precise), an explanation in plain language (so you can build intuition), and an interactive demo (so you can poke it until it clicks).

When a paragraph references something earlier, it links back to it. When a chapter introduces a new symbol, it's defined the moment it appears. Bring a pen — writing the math out helps.

The map

Already comfortable with the math?

Skip ahead to chapter 5 or jump straight into the interactive workspace. You can come back to fundamentals when something stops making sense.