PPolySim OS
For Educators · Decision Tree

Decision Tree for a chatbot

Built for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs. Simulate a chatbot 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 educators?
Yes — this version of "Decision Tree for a chatbot" is framed for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.