Simulation library

Learn AI by touching it.

Every simulation is a small experiment: do something, watch the algorithm react and complete three challenges. Your progress is saved on this device.

Machine learning

Linear regression

Find the straight line that best fits your data, and see why one odd point can pull it off course.

Regression

Gradient descent

Watch a model learn by walking downhill on its own error, one step at a time.

Optimisation

Logistic regression

Turn a straight line into a probability, and discover what a straight line cannot separate.

Classification

Support vector machine

Find the widest street between two groups, and see that only a few points on its edges really matter.

Classification

k-nearest neighbours

Classify a new point by asking its closest neighbours to vote.

Classification

Naive Bayes

Classify with probabilities and a bold shortcut: within each class, assume every feature is independent of the others.

Classification

Decision tree

Split the data with simple yes or no questions, and see how a deeper tree starts memorising noise.

Classification

Random forest

Grow many slightly different decision trees and let them vote. The crowd is wiser than any single tree.

Ensemble

Gradient boosting

Build a strong model from many weak ones, each tree fixing what the previous ones still get wrong.

Ensemble

Overfitting

Make a curve more and more flexible and find the point where it stops learning and starts memorising.

Fundamentals

Regularisation (ridge and lasso)

Tame an overfitting model by charging it for large weights, and see lasso switch the weakest features off.

Fundamentals

Cross-validation

Test a model fairly by letting every part of the data take a turn as the test set.

Evaluation

k-means clustering

Find groups in data that nobody has labelled, two simple steps at a time.

Clustering

Hierarchical clustering

Join the two closest groups again and again, and grow a family tree of your data.

Clustering

DBSCAN clustering

Find clusters of any shape by following crowded regions, and leave lonely points out as noise.

Clustering

Anomaly detection

Find the odd ones out by cutting the data at random: lonely points are isolated in just a few cuts.

Outliers

Principal component analysis

Find the direction in which your data varies the most, and squeeze two dimensions into one.

Dimensionality reduction

Generative AI

Tokens

Coming soon

Next-word prediction

Coming soon

Temperature and sampling

Coming soon

Embeddings

Coming soon

Retrieval (RAG)

Coming soon
Gradient descent, live: a model searching for its lowest error. Tap the field to start it somewhere new.

What's coming

Understand it by playing with it.

Every lesson will be something you can touch: change a value, watch a model react and see why it works.

Interactive courses
Short, hands-on lessons on AI, machine learning and data, from first principles to real projects.
Live simulations
Change one thing and watch what happens, so you learn why, not only how.
Certificates
Planned: optional assessments that earn a Chromoworks certificate.