Game setup
The bank contains 132 questions. Progress and achievements are stored locally in your browser.
Partition visualization
Colours and shape labels represent classes. The center line separates child nodes.
Candidate splits
Decision-tree path
Performance report
Question review
How Gini impurity works
Node impurity
Convert class counts into proportions. Square and sum those proportions. Subtract the result from one.
Weighted split score
Calculate impurity for each child. Weight each value by child size. Add the weighted values together.
Cleanest partition
Compare valid candidate scores. Select the smallest weighted Gini. Larger reductions indicate stronger immediate improvement.