🧪 Artificial Intelligence Supervised Learning Simulation
Place labeled points in a 2D feature space and watch a k-nearest-neighbors classifier build its decision surface in real time, with live leave-one-out accuracy — a hands-on look at how supervised learning turns labeled examples into predictions.
This simulation illustrates the principles of supervised learning by allowing users to train an AI model on labeled data. Click to place labeled examples of two classes into a 2D feature space and watch a k-nearest-neighbors classifier rebuild its decision surface in real time — the raised, colored landscape above the points shows exactly what the model predicts everywhere in the space, and how confident it is. A live leave-one-out cross-validation score demonstrates how algorithms learn from examples to make predictions, and how the number of neighbors k trades off a jagged, overfit boundary against a smooth, generalizing one.
This simulation illustrates the principles of supervised learning by allowing users to train an AI model on labeled data. It demonstrates how algorithms learn from examples to make predictions or classifications.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install