Learn Machine Learning Visually
Click any concept to start interacting immediately. Zero nested menus, zero accounts, and real-world intuition first.
Linear Regression
How a machine learns to draw the best prediction line from real examples. Drag handles on London homes, see squared mistakes and R² visually, combine multiple clues, and break the line with outliers and curves.
How Machines Learn
Start here. See how a computer learns patterns from real examples, with no math degree needed.
Linear Regression
How a machine learns to draw the best prediction line from real examples, and when that line can be fooled.
Logistic Regression
How a machine turns clues into clean 0% to 100% probabilities and makes yes/no decisions, from spam filters to bank fraud alerts.
Train Test Split (Train, Validation & Test)
How to test a machine learning model honestly without letting it cheat, peek at the exam, or leak future data.
Overfitting vs Underfitting & Bias-Variance
How to tell real learning apart from blind memorization, understand the bias-variance tradeoff, and cure overfit models.
Cross-Validation & K-Fold Cross-Validation
How rotating every slice of your dataset through the exam seat turns lucky split roulette into a trustworthy score.
Precision, Recall, F1 Score & Imbalanced Data
Why 99% accuracy can hide a totally broken model, how Precision, Recall, F1, and PR curves expose the truth, and what fixes actually work.
Working With Data
Turn messy real-world records like homes, songs, and weather into signal a model can actually use.
Descriptive Statistics
How to read any dataset in minutes: data types, mean vs. median, standard deviation, IQR box plots, and why averages alone can mislead.
Probability Distributions (Normal, Binomial & CLT)
The recurring shapes behind real-world data: bell curves, click counts, arrival rates, waiting times, and the Central Limit Theorem.
Missing Data and Outliers
How to handle blank spreadsheet cells, catch outliers without falling for the Z-score masking trap, and tell typos apart from real signal.
One-Hot Encoding & Categorical Encoding
How to turn text categories like London boroughs, cup sizes, and postcodes into clean numbers without tricking your model into fake math.
Feature Scaling: Normalization vs Standardization
Why salary in pounds bullies age in years, how Min-Max, Standardization, and RobustScaler compare under outliers, and which models actually care.
Euclidean Distance & Cosine Similarity
How recommenders, search engines, and AI embeddings measure closeness, and why high dimensions distort everyday geometry.
Feature Engineering and Selection
How turning raw columns into smarter clues and cutting redundant or noisy junk often beats switching to a bigger model.
Principal Component Analysis (PCA)
How to rotate and compress dozens of correlated features into a few clean axes without throwing away the real story.
Core ML Models
The everyday workhorses: nearest neighbors, decision trees, random forests, gradient boosting, SVMs, and clustering.
K-Nearest Neighbors (KNN Algorithm)
Predict a new example simply by asking its K closest neighbors to vote, and see why choosing K and scaling features make or break the result.
Decision Trees & Split Impurity
Turn messy tables into crystal-clear flowcharts of yes/no questions, understand Gini Impurity vs. Entropy, and see why pruning stops overfitted boxes.
Random Forests
Average hundreds of decorrelated decision trees trained on random bootstrap bags to crush variance and win on tabular datasets out of the box.
Gradient Boosting (XGBoost & LightGBM)
Build a relay team of small trees where every new tree fixes the leftover mistakes of the previous ones, dominating real-world tabular ML.
Support Vector Machines (SVM)
Carve the widest possible safety margin between classes, ignore interior clutter, and curve boundaries effortlessly using the Kernel Trick.
K-Means Clustering
Discover natural groups inside completely unlabeled data using Lloyd's two-step loop, the Elbow Method, Silhouette Score, and K-Means++.
Neural Networks & Deep Learning
How layers of simple switches learn to bend space, pass blame backward, optimize with Adam, and recognize images.
Neural Networks & the Perceptron
Demystify neural networks from a single weighted switch to multi-layer perceptrons that solve XOR and approximate any curve.
Activation Functions (ReLU, Sigmoid & GELU)
Why every neural layer needs a non-linear bend, how ReLU cured vanishing gradients, and why modern LLMs love GELU.
Backpropagation
See how neural networks pass blame backward from a wrong guess to every weight in one efficient Chain Rule sweep.
Gradient Descent, Learning Rate & Adam Optimizer
Master the engine that trains every deep model: tune learning rates, race SGD vs. Momentum vs. Adam, pick mini-batches, and schedule cosine decay.
Batch Normalization, Dropout & Weight Decay
Keep deep neural networks stable and prevent memorization using Dropout, Batch/Layer Normalization, Weight Decay, and Data Augmentation.
Convolutional Neural Networks (CNNs)
See how sliding 3x3 magnifying filters, stride, padding, and pooling let neural networks recognize visual patterns anywhere in an image.
Modern AI & LLMs
Tokenization, embeddings, self-attention, Transformers, text generation, LoRA/RLHF, 3D vector databases & HNSW, and RAG + AI agents.
Tokenization & Word Embeddings
How LLMs turn raw text into subword token IDs and map meaning into geometry where King - Man + Woman lands right on Queen.
Self-Attention & the Attention Mechanism
Understand the exact spotlight powering modern AI: Query, Key, Value dot products, sqrt(d_k) scaling, Multi-Head Attention, and Causal Masks.
Transformer Architecture & KV Cache
Step inside the complete blueprint powering GPT, Claude, and Gemini: Pre-Norm blocks, RoPE positional encoding, Encoder vs. Decoder families, and KV Caching.
LLM Temperature, Top-K & Top-P Sampling
See how next-token prediction turns logits into fluent prose, why Temperature reshapes probabilities, why Top-P beats Top-K, and why hallucinations happen.
LoRA Fine-Tuning, RLHF & DPO (Post-Training)
How raw internet autocomplete becomes a helpful, aligned assistant via SFT, RLHF/DPO, and verifiable reasoning RL, plus low-cost LoRA adaptation.
Vector Databases & HNSW
Fly inside a 3D multi-layer HNSW skip graph to see how vector databases search millions of embeddings in milliseconds, compare IVF vs. HNSW, and shrink RAM 32x with Product Quantization.
RAG & AI Agents
Give LLMs an open-book library with Retrieval-Augmented Generation (RAG) and real-world hands with ReAct tool-calling AI Agents.
Visual Math Toolkit
Optional visual refreshers on vectors, span, matrices, eigenvectors, gradients, and the chain rule.
Vectors, Norms & Dot Products
See every ML data row and embedding as an arrow in space, add and scale vectors visually, and feel why Dot Products measure alignment.
Vector Spaces, Span & Basis
See how two basis arrows tile an entire 2D plane, watch dependent columns collapse into a 1D rail, and rotate rulers like PCA.
Matrices & Matrix Multiplication
See a matrix as a live space-warping machine, watch the Determinant scale or squash area, and master PyTorch layer shapes.
Eigenvalues and Eigenvectors
Spin a probe arrow to catch the rare directions that refuse to tilt under a matrix warp, and see why they power PCA and PageRank.
Derivatives, Slopes & the Gradient
Zoom into a curve to turn a chord into a derivative, slice a 2D bowl into partial slopes, and follow the Gradient compass downhill.
The Chain Rule
Feel the Chain Rule as linked spinning gears, trace gradients through a real sigmoid neuron, and see why skip connections and Backprop work.