🧠 ML Playground
🎮 All games ← Back to lesson
✏️

Draw the Boundary

Drag the two white handles to draw a line that separates orange from blue. Lock it in to see your accuracy — and how your line compares to the widest-margin separator.

🧩 Intermediate ~2 min Concept: Logistic Regression · SVM
Round 1 of 3
Drag either handle. The line extends infinitely in both directions.
📌 Why margin matters
Any line with 100% accuracy technically "works" — but SVMs specifically hunt for the one with the widest street between the two classes, because it generalizes best to new points near the edge.