Question: Decision tree question You are given a training data set shown in the following table: Suppose you want to build a decision tree from these
Decision tree question

You are given a training data set shown in the following table: Suppose you want to build a decision tree from these training examples. a) Which attribute between A and B would you choose for the root of the decision tree if the information gain criterion is used as the selection criterion? Why? Show your steps. b) Which attribute between A and B would you choose for the root of the decision tree if Gini index is used as the selection criterion? Why? Show your steps
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
