Library

Machine learning visualisations

Search by concept or filter by topic, then open any workspace directly. There is no required order—start wherever your question is.

13 of 13 visualisationsAll topics
01 · Learning and optimisation4 min

How can the same local next step converge, oscillate, diverge, or find a different basin?

Change the start and step size on computed 3D loss surfaces, then compare direct descent, ravine oscillation, divergence, and local-minimum traps.

ApproachableOpen visualisation →
02 · Generalisation4 min

When does a flexible model stop generalising?

Fit polynomials of increasing degree to noisy samples, then compare training and validation error to see where the model stops generalising.

ApproachableOpen visualisation →
03 · Unsupervised learning5 min

How does k-means decide where clusters belong?

Move the centroids, step through assignment and update phases one at a time, and watch the inertia settle as the split improves.

ApproachableOpen visualisation →
04 · Classical machine learning5 min

How can a feature map turn a circular boundary into a flat one?

Map radial distance to a third coordinate, then connect a flat feature-space threshold to its circular input-space boundary.

IntermediateOpen visualisation →
05 · Language models5 min

How does a self-attention head turn query-key similarity into weights?

Select a query token and inspect the similarity scores and softmax weights it computes against every key.

ApproachableOpen visualisation →
06 · Language models5 min

How do temperature and truncation change what a language model writes?

Adjust temperature and truncation over a hand-authored next-token distribution, then sample to see which continuation gets picked.

ApproachableOpen visualisation →
07 · Deep learning6 min

How does a CNN turn pixels into features?

Move from an input image through convolution, activation, and pooling while inspecting the exact patch calculation behind every feature-map cell.

IntermediateOpen visualisation →
08 · Evolutionary computation6 min

How can a swarm find an optimum without gradients?

Watch particles balance momentum, their own best discovery, and the swarm’s shared best while searching a landscape full of local minima.

IntermediateOpen visualisation →
09 · Evolutionary computation6 min

How does evolution search without knowing a gradient?

Evolve a binary population through selection, crossover, and mutation while tracking fitness and genetic diversity across two competing peaks.

IntermediateOpen visualisation →
10 · Unsupervised learning5 min

How does PCA compress data without labels?

Rotate a one-dimensional projection through a two-dimensional point cloud and watch retained variance trade against reconstruction error.

ApproachableOpen visualisation →
11 · Deep learning7 min

How does error travel backward through a neural network?

Follow inputs through a small neural network, measure prediction error, and trace the gradients that assign each weight responsibility before an update.

TechnicalOpen visualisation →
12 · Classical machine learning6 min

How do model parameters move a fit or decision boundary?

Move slope and intercept, then connect the visible prediction line to the same coordinates on a linear or logistic loss surface.

ApproachableOpen visualisation →
13 · Classical machine learning5 min

How does a decision tree carve up feature space?

Reveal a small tree one level at a time and move its first threshold to see rules become rectangular prediction regions.

ApproachableOpen visualisation →