After a data set was partitioned using the split value of 45.5 for age. The age <

Question:

After a data set was partitioned using the split value of 45.5 for age. The age < 45.5 partition contains 22 patients with a diabetes diagnosis and 178 patients without a diabetes diagnosis, and the age ≥ 45.5 partition contains 48 patients with a diabetes diagnosis and 152 patients without a diabetes diagnosis. 

a. Compute the Gini impurity index for the root node. 

b. Compute the Gini impurity index for the age < 45.5 partition. 

c. Compute the Gini impurity index for the age ≥ 45.4 partition. 

d. Compute the Gini impurity index for the split. 

e. State the rules generated from this 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: