Question: 1. Decision trees (by hand) (25 points): Construct a decision tree by hand for the dataset given below (the dataset is simulated and does not

 1. Decision trees (by hand) (25 points): Construct a decision treeby hand for the dataset given below (the dataset is simulated and

1. Decision trees (by hand) (25 points): Construct a decision tree by hand for the dataset given below (the dataset is simulated and does not represent the real world). The target variable is Mammal. For each node, show the information(Gini's Index) in the data set and the potential gain for each possible attribute. Also, show the final tree. Hint: Compute the Gini's Index for the root node Calculate the Gini's Index for each of the 3 variables (Body Temperature, Gives Birth and Four Legged) Compute the gain in each of the 3 cases and then select the first split based on the highest index gain. Continue this process till you only have terminal nodes Finally build a tree with the rules you have selected An example table is given below

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 General Management Questions!