Question: After a data set was partitioned, the first partition contains 43 cases that belong to Class 1 and 12 cases that belong to Class 0,
After a data set was partitioned, the first partition contains 43 cases that belong to Class 1 and 12 cases that belong to Class 0, and the second partition contains 24 cases that belong to Class 1 and 121 cases that belong to Class 0.
a. Compute the Gini impurity index for the root node.
b. Compute the Gini impurity index for partition 1.
c. Compute the Gini impurity index for partition 2.
d. Compute the Gini impurity index for the split.
Step by Step Solution
3.24 Rating (162 Votes )
There are 3 Steps involved in it
a The Gini impurity index for the root node is calculated as follows First we calculate the proporti... View full answer
Get step-by-step solutions from verified subject matter experts
