PixelOkay/ Developer Tools / Machine Learning Playground
On-device processingAll developer tools ↗
Tools
PIXELOKAY LABS · INTERACTIVE LEARNING

Machine Learning Playground

Learn what your models see. Explore datasets, tune algorithms, and inspect predictions—entirely in your browser.

LIVE EXPERIMENT

Decision landscape

Generated points and model predictions

Not trained
Select a point to inspect · X₁ vs X₂
0 data pointsTraining uses a held-out test split
03

Explore the dataset

◎
Choose a plotted point or table row to inspect and edit it.
Preview of first 60 rows. Download CSV for all rows.
#X₁X₂Target / classSplit
Page 1

Using Machine Learning Playground

Experiment with two-feature clustering, classification, and regression, then compare held-out metrics and training-only validation folds.

Workflow

  1. Choose a generated example or import a two-feature CSV/TSV dataset, then select clustering, classification, or regression.
  2. Choose an available algorithm, set the primary train/test split and feature standardization, then train and inspect the chart and metrics.
  3. Run repeated validation folds using training rows only, compare predictions, and export results or an editable project backup.

Worked example

Load the labeled three-class example, select k-nearest neighbors, and train with the held-out test split. Inspect the decision landscape and held-out metrics, then run cross-validation on the training portion before comparing a second algorithm.

Limits and data handling

The teaching algorithms are bounded to two features and include K-means, k-NN, binary logistic regression, and linear/polynomial ridge regression. Held-out test rows are not used to fit or compare algorithms; validation folds come only from training rows. These experiments do not establish production model quality or suitability for consequential decisions. Standard ML training runs without model downloads. Optional local AI explanations download a language model and receive bounded aggregate statistics, not raw CSV rows or user class names; AI output can be wrong and requires local device resources.

Frequently asked questions

Does cross-validation include held-out test rows?

No. Repeated validation folds are drawn from the primary training rows; the held-out test data is kept separate from fitting and algorithm comparisons.

Do the clustering and regression algorithms require a model download?

No. Standard ML training runs in the browser without a pretrained model download. The separate optional AI explanation feature downloads a local language model and receives bounded aggregate statistics rather than raw rows or class names.

Related tools

LOCAL AI SETUP

Set up AI on this device

First, a model needs to be loaded on your device

Experimental interpretation run locally in your browser after you explicitly load a model. The model may require hundreds of megabytes of CDN files. Compatible cached files can be shared with other PixelOkay tools on this same origin. Nothing downloads automatically on entry.

  1. 1. Check device
  2. 2. Download / cache
  3. 3. Initialize model
  4. 4. Explain results
Choose a compatible WebGPU model for learning explanations.

Device & model resources

Approximate measurements
Device RAM / model memoryChecking device information…

Live system RAM, GPU memory and actual model working-memory requirements are unavailable in most browsers. Model download size is not the RAM requirement.

Checking device compatibility…

Browser website storageChecking storage…

Site-wide storage estimate, includes other PixelOkay tools. Not RAM.

Model cache not yet inspected.

ONE ACTION · ALL RECOGNIZED AI MODEL DOWNLOADS

Free AI model storage across PixelOkay

Scan this website origin for WebLLM and Transformers.js model caches, plus recognizable model files in other cache buckets. Includes other PixelOkay tools on this origin. Unrelated site data is not cleared automatically.

Run Inspect all AI caches to review safe model-only targets.

Unknown caches, browser-native models, inaccessible IndexedDB and OPFS files are not deleted; close other active AI tabs before cleanup.

Having trouble downloading or loading AI?

First try Refresh Storage & Cache, then retry or select a smaller compatible model. If necessary, use the visible cache controls immediately above to inspect and remove verified model-only downloads. Other PixelOkay tools may need to redownload those models. Do not clear all website data without backups.

Select a model, then check compatibility. The regular learning playground always works without AI.
Currently loadedNoneNo active inference session
Technical details

WebLLM 0.2.87 · WebGPU. Runtime scripts and model files may load from CDNs. Inference on your aggregate experiment summary is on-device. No API keys or server-side inference.

Remove recognized model caches?

Review the recognized model-cache targets before deletion.

Only identified model-cache entries are targeted. Saved logs, chats, projects, editor work, and unrelated site caches are not targeted; the scanner cannot inspect all browser storage providers.