Machine Learning, Decision Tree, Explainable Ai, Beginners Guide, Understanding.
instead of sepal width. Splitting at petal width <= 0.8 cm creates a group with only virginica irises (so with a Gini impurity of 0). Managing to create a group with uniquely one species is not always the best option though, as we will see for the next split… As the algorithm has created a node