PPolySim OS
For Hobbyists & Makers · Gradient Descent

Gradient Descent for a decision tree

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 decision tree live below — adjust the inputs and watch it respond, right in your browser.

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 Gradient Descent

Frequently asked questions

Is this good for hobbyists & makers?
Yes — this version of "Gradient Descent for a decision tree" 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.