PPolySim OS
For Engineers · Decision Tree

Decision Tree for a pathfinding AI

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

Decision Tree SplitsLive

Controls

Presets

A decision tree repeatedly splits the feature space along one axis at a time, carving it into rectangular regions each assigned a class. Deeper trees fit more complex boundaries but risk overfitting. Tune the splits to separate the two colors. Educational tool.

▶ Run in Python

Data Inspector

Accuracy100%
Regions4

Governing equation

Reading this result: Two axis-aligned splits near the center carve the plane into four boxes that match the classes — depth 2 is exactly enough to solve XOR.

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

or unlock everything with Pro →

More with Decision Tree

Frequently asked questions

Is this good for engineers?
Yes — this version of "Decision Tree for a pathfinding AI" 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.