Question: Consider the training data set shown in the following table which was recorded for the past 10 games according to the weather conditions. We would

Consider the training data set shown in the

Consider the training data set shown in the following table which was recorded for the past 10 games according to the weather conditions. We would like to build a decision tree to predict if we should Play or Don't play according to weather conditions. Assume that we consider the following two candidate splits at the root: a. using the Outlook attribute only which accepts categorical values of {sunny, overcast, rain} b. using the Windy attribute only which accepts categorical values of {True, False} a. [4 points] Draw a decision tree for each of the above candidate splits. b. [6 points] Calculate the split Gini index for each tree. Based on your calculation of the Gini index, which split is better? Record # 1 2 3 4 5 6 7 8 9 10 Outlook sunny overcast rain Sunny Sunny overcast rain overcast sunny rain Windy True True False False True False True True False False Play Yes Yes No Yes No Yes No No Yes No

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!