Home / AI Arena / Machine Learning Basics

01 Prediction and Regression Why prediction is at the heart of intelligence, how Sir Francis Galton accidentally invented machine learning, and what "regression" actually means. Start here · 11 min
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. 7 min 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. 18 min 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. 20 min 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. 25 min 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. 9 min 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. 12 min 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. 24 min 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. 14 min 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. 6 min 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. 17 min 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. 24 min 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. 15 min 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. 11 min