HomeData ScienceClassifier Complexity: Underfitting vs Overfitting

🎯 Classifier Complexity: Underfitting vs Overfitting

Drag a classifier-complexity slider across a curved two-class dataset and watch the decision boundary swing from a stiff underfit to a jagged overfit, while a live train/test accuracy curve traces the classic overfitting peak.

Data Science2DModerate60 FPS
classifier-complexity-underfitting-vs-overfitting ↗ Open standalone
⚙ Under the hood

Drag a classifier-complexity slider across a curved two-class dataset with noisy mislabeled points, and watch the decision boundary swing from a stiff underfit straight line to a jagged overfit maze while a live train/test accuracy chart traces the classic overfitting peak.

classificationdecision boundaryoverfittingunderfittingbias-variancek-nearest neighborsmachine learninggeneralization

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)