PPolySim OS
For Engineers · ML Model Trainer

ML Model Trainer for a sampling error

Built for engineers using it for real design work. Go from concept to a running model in the browser, then scale to the cloud when needed. Simulate a sampling error live below — adjust the inputs and watch it respond, right in your browser.

Neural Network PlaygroundLive

Controls

Presets

A tiny multilayer perceptron trained by real backpropagation. The background shows its learned decision boundary; dots are the training data, colored by true class.

▶ Run in Python

Data Inspector

Epoch0
Loss0.0000
Architecture2→8→1

Governing equation

Reading this result: With 8 hidden units the net bends the boundary into curves — more units capture finer shapes like the spiral, but too many can overfit.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

k-Means ClusteringLive

Controls

Presets

Lloyd's algorithm: assign each point to its nearest centroid, then move each centroid to the mean of its members. Repeat until stable. Try setting k different from the true cluster count.

▶ Run in Python

Data Inspector

Iteration0
Inertia0.00e+0
k4

Governing equation

Reading this result: k matches the 4 true clusters, so each centroid can settle onto one real group and inertia falls to a clean minimum.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

Principal Component AnalysisLive

Controls

Presets

PCA finds the directions along which data varies most. The eigenvectors of the covariance matrix are the principal components (cyan = most variance, green = least), and their eigenvalues are the variances along each. Projecting onto the top components is the basis of dimensionality reduction.

▶ Run in Python

Data Inspector

Variance PC10.00
Variance PC20.00
PC1 explains0%
PC1 angle

Governing equation

Reading this result: PC1 explains 0% of the variance here; the stronger the correlation between features, the more PCA concentrates information on that first component.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

4

Gradient Descent

open full solver →
Gradient Descent StudioLive

Controls

Watch gradient descent (with momentum) roll downhill on different loss landscapes. Too high a learning rate overshoots.

Presets

▶ Run in Python

Data Inspector

Surfaceripple
Step0/200
Optimizermomentum GD

Governing equation

Reading this result: A learning rate of 3 is well matched to the curvature here: steps are large enough to make progress yet small enough to avoid overshoot, giving a smooth, roughly quadratic descent toward the minimum.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with ML Model Trainer

Frequently asked questions

Is this good for engineers?
Yes — this version of "ML Model Trainer for a sampling error" is framed for engineers using it for real design work. Go from concept to a running model in the browser, then scale to the cloud when needed.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.