Decision Tree, Cart, Machine Learning.
its working also, Say, this is our distribution on a dataset of 100 entries. A condition applied to Feature 1 gives the above conclusion. Gini Impurity of Leaf 1: 1–(35/43)² — (8/43)² =0.302 Gini Impurity of Leaf 2: 1 — (15/57)² — (42/57)²=0.38 Now, the overall Gini Impurity for Feature 1: The