A decision tree asks yes/no questions to slice data into boxes. Move the split lines and watch the class regions rearrange.
Decision Tree SplitsLive
carving space into boxes
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.
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.
★ Sign in to save this setupSave your tuned setup, or drop this simulation into your own site, docs, or course page.
How it works
Decision trees split the feature space one axis at a time, each branch a threshold test, until leaves hold mostly one class. Shallow trees underfit; deep trees carve intricate boundaries that can memorize noise. They are the building block of random forests and gradient boosting. Educational tool.
✦
Ask the AI about this model
The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.
Is this decision tree simulator tool really free?▾
Yes. Decision Tree Splits runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?▾
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?▾
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?▾
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.