Learning Roadmap
Build intuition. Inspect the mathematics. Defend the experiment.
Follow the road from objectives and decision boundaries to learned representations, language models, and evidence you can trust. Each stop connects an interactive experiment to its mathematics.
A neural network in motion
Follow one input through a small feedforward network.
Inputs → weighted sums + biases → ReLU hidden activations → output scores → softmax probabilities. Enable JavaScript to watch signals travel through the network.
- 01Read the input
- 02Weight, sum & activate
- 03Compute probabilities
ReLU keeps positive sums and turns negative sums into zero.
Dots carry weighted activations from left to right; neurons light up when their inputs arrive. Dark hidden neurons have a zero ReLU output. New input every 3.6 seconds. This is a slowed-down teaching model with fixed illustrative weights; inference does not update them.
Your learning road
How to use the road: predict what will change, try the controls, then connect the result to the equation. Opened labs are ticked when you return; visits are saved in this browser.
Before you begin · prerequisites & learning goals
Assumed background: vectors and matrices, differentiation, basic probability, and programming. You can inspect every numerical operation without a Python or GPU runtime.
By the end, derive a model’s objective and updates, explain its inductive biases, and design an evaluation protocol that separates model selection from final testing.
Keep a prediction, a derivation, and a skeptical question beside every experiment. A diagram supports an argument; it does not replace one.
Make each result reproducible
- Predict: write what should change before touching a control.
- Derive: connect the picture to a gradient, tensor shape, or probability.
- Test: compare against a baseline, edge case, or independent calculation.
- Report: record assumptions, data splits, metrics, and failure modes.
The regression and evaluation data are deterministic teaching fixtures. The CNN, autoencoders, and VAEs use real trained weights and measured MNIST results. The attention vectors are illustrative, not representations from a trained language model.