PPolySim OS
For Hobbyists & Makers · ML Model Trainer

ML Model Trainer for a clinical trial

Built for hobbyists & makers exploring it for fun. Play with real physics and math, no license and no setup — just open and tinker. Simulate a clinical trial 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 angle0°

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 hobbyists & makers?
Yes — this version of "ML Model Trainer for a clinical trial" is framed for hobbyists & makers exploring it for fun. Play with real physics and math, no license and no setup — just open and tinker.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.