Machine Learning, Decision Tree, Explainable Ai, Beginners Guide, Understanding.
among all the possible splits the split with petal width = 0.8 cmgives the lowest Gini impurity. The Gini impurity for the left leaf is : We verify this result with the tree graph. This result is not surprising because in the left leaf which matches the left part of the graph we only have setosa