AI Fundamentals

Demos

Try the ideas in the book for yourself. Each demo is aligned with a chapter of the book and works with any course that uses it. Each demo runs in your browser; nothing you draw or type is sent anywhere.

Chapter 10 · Recognizing Handwritten Digits

Read my digit

Draw a digit with your finger, or use a photo, and watch the chapter's neural network read it. See the 28 × 28 image it sees, and the Python that does the same.

Chapter 10 · Recognizing Handwritten Digits · Advanced

Train a digit reader

Choose the hidden layers, neurons, activation function and max_iter, train a network on 12,000 MNIST digits in your browser, and test it on a digit you draw. Compare runs, and see the same model in scikit-learn and Keras.

Chapters 9–10 · Your First Neural Network

Train a digit reader in Keras

Build a Keras model layer by layer and see its parameter count, compile it (optimizer, learning rate, sparse categorical cross-entropy), fit it with epochs, batch size, validation and early stopping, then read the softmax probabilities, argmax and confusion matrix. Runs in your browser.

Chapter 11 · How Machines See: Convolutional Networks

See a CNN work

Why a regular network is too big for photos, a filter sliding over a digit to make a feature map (padding and stride), a filter to work out by hand, max pooling, and a CIFAR-10 CNN layer by layer: predict each shape and parameter count, then reveal.

Chapter 11 · How Machines See: Convolutional Networks

What a CNN sees

Point your camera at something: 3×3 filters turn the live video into feature maps, max pooling shrinks them, and a real CNN (MobileNet, trained on ImageNet) shows its early and deep feature maps and names what you hold up. No video leaves your device.

Chapter 12 · Sequences and Forecasting: RNNs and LSTMs

Watch a network remember

Draw a pattern and watch a SimpleRNN and an LSTM learn it from sliding windows (samples, timesteps, features) and continue it into the future. Then a memory test: the secret is at the start of a long, noisy sequence. See the SimpleRNN forget as the gap grows while the LSTM holds on. Trains in your browser in seconds.