Interactive · No sign-up · Just play
See how machines actually learn.
Machine learning, made visual and playable. Drag the dots, move the sliders, and watch the math come alive — then dive into 40+ interactive explainers.
48 interactive concepts · Real algorithms, in your browser · Free, no sign-up
↳ Click anywhere to add a data point. Watch the model adapt.
Explore the visualizations
Pick any concept and start playing. Search by name, or filter by topic and difficulty.
What Is a Model?
A model is a function fit to data to make predictions.
FoundationsBeginner⚡Loss Functions
Loss measures how wrong a prediction is.
FoundationsBeginner⚡Gradient Descent
Iteratively step downhill on the loss surface.
FoundationsIntermediate⚡Optimizers (SGD · Momentum · Adam)
Race SGD, Momentum, and Adam down the same loss surface.
FoundationsIntermediate⚡Overfitting & Underfitting
Watch train and test error form the classic U as complexity grows.
FoundationsBeginner⚡Linear Regression
Fit the best straight line through data.
RegressionBeginner⚡Polynomial Regression
Fit curves by adding polynomial features.
RegressionBeginner⚡Bias–Variance Tradeoff
Balance underfitting against overfitting.
RegressionIntermediate⚡Ridge Regression (L2)
Shrink coefficients toward zero to reduce variance.
RegressionIntermediate⚡Lasso Regression (L1)
Drive some coefficients exactly to zero for feature selection.
RegressionIntermediate⚡Elastic Net
Blend L1 and L2 penalties to get the best of both.
RegressionAdvanced⚡Logistic Regression
Predict class probabilities with an S-shaped curve.
ClassificationBeginner⚡K-Nearest Neighbors
Classify by majority vote of nearest neighbors.
ClassificationBeginner⚡Decision Boundaries
One dataset, four classifiers, four boundaries — side by side.
ClassificationIntermediate⚡Naive Bayes
Classify using Bayes’ rule and a strong independence assumption.
ClassificationIntermediate⚡Decision Tree
Split the data with a sequence of yes/no questions.
ClassificationBeginner⚡Support Vector Machine
Find the boundary with the widest margin between classes.
ClassificationIntermediate⚡The Kernel Trick
Separate non-linear data by lifting it into higher dimensions.
ClassificationAdvanced⚡Softmax & Multiclass
Turn raw scores into class probabilities that sum to one.
ClassificationIntermediate⚡Bagging
Average many models trained on bootstrap samples.
EnsemblesIntermediate⚡Random Forest
Bag decision trees with random feature subsets.
EnsemblesIntermediate⚡AdaBoost
Chain weak learners, each fixing the last one’s mistakes.
EnsemblesAdvanced⚡Gradient Boosting
Fit each new tree to the residual errors of the last.
EnsemblesAdvanced⚡K-Means Clustering
Cluster by iterating assign-to-nearest-center then move-center.
Unsupervised & Dim. ReductionBeginner⚡Hierarchical Clustering
Build a tree of clusters by repeatedly merging the closest pair.
Unsupervised & Dim. ReductionIntermediate⚡DBSCAN
Cluster by density; label sparse points as noise.
Unsupervised & Dim. ReductionIntermediate⚡Gaussian Mixture Models (EM)
Soft-cluster data as a blend of Gaussian blobs via EM.
Unsupervised & Dim. ReductionAdvanced⚡Principal Component Analysis
Project data onto the directions of greatest variance.
Unsupervised & Dim. ReductionIntermediate⚡t-SNE
Embed high-dimensional data in 2D preserving local neighborhoods.
Unsupervised & Dim. ReductionAdvanced⚡UMAP
Fast manifold embedding preserving local and some global structure.
Unsupervised & Dim. ReductionAdvanced⚡Feature Scaling
Put features on the same scale so no one dominates.
Data Prep & Model EvaluationBeginner⚡Encoding Categorical Features
Turn categories into numbers models can use.
Data Prep & Model EvaluationBeginner⚡Train/Test Split
Hold out data to measure real generalization.
Data Prep & Model EvaluationBeginner⚡Cross-Validation
Rotate the holdout set across k folds for a stable estimate.
Data Prep & Model EvaluationIntermediate⚡Confusion Matrix
Break predictions into true/false positives and negatives.
Data Prep & Model EvaluationBeginner⚡Precision, Recall & F1
Trade off catching positives against being right about them.
Data Prep & Model EvaluationIntermediate⚡ROC Curves & AUC
Visualize the full threshold tradeoff in one curve.
Data Prep & Model EvaluationIntermediate⚡The Decision Threshold
Choosing the cut-off is about consequences, not a fixed 0.5.
Data Prep & Model EvaluationIntermediate⚡The Perceptron
The original learning neuron: a linear threshold unit.
Neural NetworksIntermediate⚡A Single Neuron
Weights, bias, and an activation function in one unit.
Neural NetworksIntermediate⚡Activation Functions
The nonlinearity that lets networks bend.
Neural NetworksIntermediate⚡Multilayer Perceptron
Stack neurons into layers to learn nonlinear boundaries.
Neural NetworksAdvanced⚡Forward Propagation
Push inputs through the layers to compute a prediction.
Neural NetworksAdvanced⚡Backpropagation
Propagate error gradients backward to update every weight.
Neural NetworksAdvanced⚡Convolution
Slide a small kernel over an image to detect local patterns.
Deep LearningIntermediate⚡Convolutional Neural Networks
Stack convolutions and pooling to classify what you draw.
Deep LearningAdvanced⚡Word Embeddings
Turn words into vectors where direction encodes meaning.
Deep LearningIntermediate⚡Attention & Transformers
Let every word weigh how much every other word matters.
Deep LearningAdvanced⚡
Learn by playing, not memorizing.
Every concept is interactive.
No passive slideshows. Drag, toggle, and break each model on purpose to build real intuition.
The math, finally readable.
Clean, typeset equations sit right next to the visualization — every symbol explained, every example traced on real numbers.
From line-fits to transformers.
Nearly fifty explainers, ordered from foundations through neural networks to CNNs, embeddings, and attention. Jump in anywhere.
Not sure where to start?
Follow the Learning Path.
A guided route through the visualizations, ordered the way a good course would teach them — from linear regression to neural networks. It’s optional: the visualizations are always yours to explore freely.