Grow a Decision Tree Game

Choose smart splits, grow clear branches, test unseen records, prune weak nodes, and discover how decision trees learn accurate, explainable predictions through interactive challenges.

Game setup

Choose a scenario, objective, difficulty, and learning constraints.

Classification Seed: 42
Score
0
Accuracy, gain, simplicity
Train score
Not tested
Test score
Unseen records
Tree size
1
1 leaves
Best streak
0
Strong split streak
Time
03:00
Free build

Interactive tree canvas

Select a node, choose a feature, preview a split, then grow branches.

Active node: Root
Drag to pan · Wheel to zoom · Click nodes to edit

Dataset and prediction paths

Inspect records, filter samples, and select one for animated routing.

Node builder

Root node with all training records.

Split preview Waiting
Parent impurity
Weighted children
Left records
Right records
Gain
Balance
Choose a feature to inspect the proposed split.

Coach feedback

Immediate guidance after every decision.

Challenge progress0%
Keyboard: Ctrl Z undo, Ctrl Y redo, H hint, T test.

Accessibility and display

Testing and evaluation

Measure generalisation, inspect mistakes, and compare complexity.

Plotly analytics

Explore split quality, feature importance, prediction quality, and score history.

Decision rules

Plain-language paths from root to leaves.

Achievements

Earn badges for strong, simple, generalisable trees.

Save and export

Keep progress or share the tree and results.


Local leaderboard
Tree Coach
Saved.

Related Calculators

Information Gain ChallengeTree Pruning PuzzleDecision Path ExplorerRandom Forest BuilderFeature Importance ChallengeTree Depth BalancerGini Impurity Game

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.