Skip to main content

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…