Section 1 — What you will learn
✓ By the end you will understand
- K: how many neighbors get to vote.
- Majority vote: the color with more neighbors wins.
- Distance: how “close” two points are (Euclidean vs Manhattan).
- Decision territory: KNN paints the map (not a straight line).
- Noise: infiltrators + label flips that confuse the model.
- Overfitting: K=1 is super jittery (one weird dot can change everything).
How to play: Move your mouse inside the arena to scan. Click to drop a Probe.
Normal click = Practice probe (yellow). Hold SHIFT + click = Truth probe (cyan).
Normal click = Practice probe (yellow). Hold SHIFT + click = Truth probe (cyan).
Section 2 — Controls
Challenge rewards: low mistakes + stable territory + good generalization.
Story helps kids remember what the numbers mean.
Tip: keep K odd to avoid ties.
More imbalance can make the “majority” win too easily.
Noise is visual: storm lines + jitter + wrong-color infiltrators.
Section 3 — Live stats
Practice Accuracy
—
Truth Accuracy
Hidden
Overfit Risk
—
Noise Confusion
—
Generalization Gap
Hidden
Probes Dropped
—
Live Chart
Accuracy trend (updates live)
Section 4 — Math (simple)
Loading…
🧠 Kid Coach
Loading…
Tip: K changes stability. Noise changes confusion.