Question: Question B. Consider the following business data set; [4+7+2+21 Class Label + + a. Calculate Entropy of the data set. What do you conclude looking

Question B. Consider the following business data set; [4+7+2+21 Class Label + + a. Calculate Entropy of the data set. What do you conclude looking at entropy. b. Calculate the information gain when splitting on A and B. Which attribute would the decision tree induction algorithm choose. Justify your answer. c. Calculate the gain in Gini index when spiliting on A and B. d. Why Gini index is used in decision tree based classification
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
