Weighted Impurity of a Split
A node holds 80 rows, 40 positive and 40 negative. A candidate split sends 60 rows left (36 positive, 24 negative) and 20 rows right (4 positive, 16 negative). scikit-learn scores a split with
What is the parent's Gini impurity and the weighted Gini of the split?
Sign in to answer questions and track your progress
Sign In