Machine Learning Playground
Experiment with machine learning in your browser: run Python with numpy, pandas and scikit-learn in the Code Lab, or explore decision boundaries in the Visual Lab and export the equivalent code.
Everything runs in your browser. Python is compiled to WebAssembly (Pyodide) and the libraries are downloaded from this site on first use: nothing you type or paste is sent anywhere.
numpy is loaded. Switch the libraries selector to add pandas or scikit-learn.
Loading editor…
Interactive Demo
Decision boundary lab
Pick a dataset and a model. The coloured background shows what the model predicts everywhere.
Dataset
Model
Accuracy on the shown points: 83%