ML model visualizer
Decision Tree Classifier
Build a tree step by step and see how feature splits create classification regions.
TaskClassificationCriterionGiniExplainabilityHighOutputDecision Rules
Decision Space
Class AClass BCurrent split
Decision Tree
Current split:Root nodeGini gain:0.000Progress:1 / 9 nodesBuilding
Model Metrics
Accuracy50%Tree depth0Nodes1Leaves1Samples80
Current Node
Samples80Gini0.500Best featureFeature 2Threshold-0.226Predicted classClass A
Evaluate every featureTest candidate thresholdsChoose the split with the highest impurity gainPartition samples into left and right childrenRepeat until a stopping rule is reached
Split Quality
Parent impurity0.500Left impurity0.062Right impurity0.325Information gain0.277