From “what's AI?”
to “I built that.”
Learn Python, understand how models learn, and build five small projects you can run yourself. Clear explanations, worked examples and room to experiment.
25 chapters · Free with an account · No coding experience needed
Practical
AI for
Idiots.
Build something real.
Bring your curiosity.
Leave the pretending behind.
A book to work through.
Not just scroll through.
Start with Python. Each chapter builds toward an idea you can explain, a calculation you can follow, or a program you can change.
- Small exercises with answers when you need them
- Visual explanations from 3Blue1Brown, StatQuest and other clear teachers
- Five downloadable projects, from automatic differentiation to a local AI app
One book. Your own pace.
Read it in order. Or follow the question you have today.

5 chapters to explore
A little Python. A lot of possibility.
Start with the basics: variables, loops, and the functions that make your code do something useful.
- 01Your first Python programRun a real program and learn how to read an error.
- 02Values, lists and decisionsStore information, collect it, and choose what happens next.
- 03Make repetition usefulProcess a collection one item at a time.
- 04Write it once. Use it again.Turn a calculation into a small, testable function.
- 05From Python to dataUnderstand rows, columns, shapes and the first train/test split.

13 chapters to explore
Teach a machine to make a better guess.
From a straight line to a neural network. Build an intuition for how models learn, and where they go wrong.
- 01Linear regression: fit a lineMake a numerical prediction and measure how wrong it is.
- 02Gradient descent: small stepsFollow a slope to improve a model one update at a time.
- 03Logistic regression: probabilitiesTurn a score into a probability for a yes-or-no outcome.
- 04Overfitting: test what you learnedTell useful patterns apart from memorization.
- 05Decision trees: learn through questionsSplit a dataset into groups with simpler predictions.
- 06Random forests: trees working togetherCombine imperfect trees to get a more stable prediction.
- 07K-means: find groups without labelsCluster similar points and question what those groups mean.
- 08Neural networks: connected calculationsConnect weighted sums and nonlinear functions.
- 09CNNs: find patterns in imagesSlide a small filter across an image, reusing the same weights.
- 10RNNs: remember a sequenceProcess a sequence while carrying a changing hidden state.
- 11Transformers: learn from contextUnderstand attention, causal masking and next-token prediction.
- 12Reinforcement learning: actions and rewardsExplore an environment and improve a policy.
- 13GANs: a competing pairTrain a generator and a discriminator, and spot the limits.

5 chapters to explore
You understand the idea. Now build it.
Build automatic differentiation, a tiny text model and a digit classifier. Then adapt a model and give it an interface.
- 01Build a tiny learning engineWrite automatic differentiation using ordinary Python.
- 02Build a tiny text modelTrain a small character-level transformer you can inspect.
- 03Build a digit classifierTrain a small convolutional network on 8×8 handwritten digits.
- 04Adapt your text modelContinue training a saved model on a new writing sample.
- 05Give your model an interfaceTurn the digit classifier into a local app and plan its deployment.
Finished the last chapter?
There's always another good question.