PPolySim OS
Use case · powered by ML Model Trainer

ML Model Trainer for an insurance risk

Simulate an insurance risk live in your browser. This runs the real ML Model Trainer solver — adjust the inputs, watch it respond instantly, and export the result. No install, no account.

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 →

About this simulation

The full ML Model Trainer tool models an insurance risk with the same numerics engineers and scientists use — running entirely client-side. Change any parameter and the result updates in real time, so you can build intuition, check a design, or teach the concept without spreadsheets or installs.

More you can do with ML Model Trainer

Other ways to simulate an insurance risk

Frequently asked questions

How do I simulate an insurance risk?
Open this page and use the live ML Model Trainer tool below — set your inputs and the simulation runs instantly in your browser using real numerics. No install, no account needed.
Is it free?
Yes. The simulation runs free in your browser. A one-time unlock or a Pro plan adds advanced parameters, saved presets, data import, and clean exports.
Can I use my own numbers?
Absolutely — every input is adjustable, and with data import you can drive an insurance risk from your own measurements.