02
Weights, Bias, and the Linear ModelWhat weight and bias actually do to a line, and how changing them lets you fit any straight-line relationship in your data.
03
Solve It or Search for ItThe two ways to find the best weight and bias, a one-shot formula versus a step-by-step search, and why the search wins once models get big or bendy.
04
Loss FunctionsHow we measure how wrong a model is, Mean Squared Error vs Mean Absolute Error, why their loss curves have different shapes, and what the shape tells gradient descent.
05
Gradient DescentHow gradient descent uses the slope of the loss curve to iteratively nudge weight and bias towards their ideal values, the training loop explained.
06
The Learning RateWhy the step size matters, too small and training crawls, too large and it overshoots or blows up. Interactive demos of slow convergence, oscillation and divergence, and how a learning rate is actually chosen.
07
Batches, Epochs and the Training CurveWhy real training never looks at the whole dataset at once, what batch size and epochs mean, why "SGD" is the name you will see in code, and how to read the chart every training run produces.
08
Overfitting and GeneralisationWhy a model can score perfectly on its training data and still fail in the real world, what memorising versus learning looks like, and how held-back data keeps a model honest.
09
Local vs Global MinimaWhy the loss surface is a bumpy bowl, not a perfect cup, and why ending up at a local minimum is often fine in practice.
10
Many Features, One RecipeWhat changes when a prediction depends on several inputs at once, one weight per feature, and why gradient descent does not care how many knobs there are.
11
Activation FunctionsHow ReLU, leaky ReLU, sigmoid, and tanh transform a linear neuron's output to model non-linear real-world behaviour, with interactive demos for each.
12
Neurons, Chaining, and SpecialisationWhat happens when you connect activated neurons together, how chaining produces new behaviour, how parallel neurons specialise on sub-problems, and how gradient descent trains a tiny neural network to approximate a sine wave.
13
From Numbers to ChoicesHow a model that predicts a number becomes one that chooses between options, sigmoid as a probability, the decision boundary, softmax across many options, and cross-entropy, the loss that asks how surprised the model was.
14
From Straight Lines to ChatGPTClosing the loop. How the weights, biases, loss functions, and gradient descent you now understand scale up from fitting a line to predicting the next token in a sentence.