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

1 Expert Approved Answer
Step: 1 Unlock

a The Gini impurity index for the root node is calculated as follows First we calculate the proporti... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Business Statistics Communicating Questions!