After a data set was partitioned, the first partition contains 43 cases that belong to Class 1

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, 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Business Analytics Communicating With Numbers

ISBN: 9781260785005

1st Edition

Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen

Question Posted: