Explore maximum-margin classification, hyperplanes, margins, and support vectors interactively.
Hyperplane (Decision Boundary)
Margins (Gutters)
Support Vectors
Confusion Matrix (Training Set Evaluation)
Predicted Red (+)
Predicted Blue (-)
Total
Actual Red
00.0%True Red (TP)
00.0%False Blue (FN)
0
Actual Blue
00.0%False Red (FP)
00.0%True Blue (TN)
0
Total
0
0
0
Hard margin forces absolute separation (will report non-separable on overlapping points). Soft margin uses relaxation slack to find a boundary amidst noise.
Accuracy
0.0%
Precision
0.0%
Sensitivity (Recall)
0.0%
Specificity
0.0%
Model Status: Ready
Click inside the data plane grid to manually plot coordinates. Try making two separate clusters to generate an optimal boundary corridor!
💡 Classroom Experiment: Toggle over to **Soft Margin** when working with messy or non-separable datasets. Notice how the model avoids crashing and instead constructs a stable decision corridor, minimizing error using an automated subgradient optimization routine!