Model
A function with adjustable numbers that turns inputs into a prediction. Nothing more mystical than that.
Weight
A number saying how strongly one input affects the output, and in which direction. Training changes weights.
Bias
An extra adjustable number added to the weighted sum. It shifts the decision threshold, not the model’s fairness — that is a different, also important, kind of bias.
Feature
One measurable input: a pixel, a word count, a temperature. Good features make hard problems easy; bad ones hide the pattern.
Label
The answer attached to a training example — “spam”, “cat”, “£410,000”. Only supervised learning needs them.
Loss
A single number measuring how wrong the model is. Training’s only goal is to reduce it. Choosing the loss chooses what the model cares about.
Gradient
The direction and steepness of the loss with respect to each weight. Following it downhill is gradient descent.
Learning rate
How far each update moves the weights. Too small and training crawls; too large and it overshoots and can diverge. Try 6.0 in the first demo.
Epoch
One full pass over the training data — one “repeat”. The counter in the first demo.
Overfitting
Learning the training examples, including their noise, so well that performance on new data gets worse.
Generalisation
Doing well on examples the model has never seen. The only result that matters in practice.
Inference
Using a trained model to make a prediction. No learning happens here — the numbers are frozen.
Supervised / unsupervised
Learning with answers versus learning without them, from structure alone.
Reinforcement learning
Learning a policy from rewards and consequences rather than labelled examples.
Token
A chunk of text — roughly a word-piece — that a language model predicts one at a time. “Predict the next token” is the whole training task.