Multiclass Classification: One-vs-Rest vs One-vs-One Simulator (2D)
Interactive 2D simulator comparing One-vs-Rest and One-vs-One multiclass strategies: train real logistic-regression classifiers live with batch gradient descent and watch the confidence landscape as a draggable isometric bar chart plus a flat top-down heatmap, both rendered on plain 2D canvas.
Binary classifiers only draw one line between two classes, so real multiclass problems need a decomposition strategy on top. This simulator trains real logistic-regression classifiers with batch gradient descent on a synthetic 2D dataset and renders the resulting decision surface as a draggable isometric bar landscape plus a flat top-down heatmap, both on plain 2D canvas: bar color shows the predicted class and bar height shows how confident that prediction is. Switch between One-vs-Rest (one classifier per class, argmax wins) and One-vs-One (one classifier per class pair, majority vote wins) on the same data to see how the boundaries — and the number of classifiers trained — genuinely differ, then change the class count, cluster spread, or resample the dataset to retrain everything from scratch.
Train real logistic-regression classifiers live and compare how One-vs-Rest (one classifier per class, argmax wins) and One-vs-One (one classifier per class pair, majority vote wins) carve up the same synthetic dataset, rendered as a draggable isometric bar landscape plus a flat top-down heatmap, both on 2D canvas.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install