Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Decision Tree Problem? 1. (30 pts) Consider the following table of observations: No. Outlook Temperature Humidity Windy Play Golf sunny hot 2 sunny hot 3
Decision Tree Problem?
1. (30 pts) Consider the following table of observations: No. Outlook Temperature Humidity Windy Play Golf sunny hot 2 sunny hot 3 overcast hot 4 rain mild rain cool 6 rain cool 7 overcast cool 8 sunny mild 9 sunny cool 10 rain mild 11 sunny mild 12 overcast mild 13 overcast hot 4 rain mild high false N high true N high false Y high false normal falseY normal true N normal true Y high false N normal falseY normal Y normal true Y high true Y normal fase Y igh true N From the classified examples in the above table, construct two decision trees (by hand) for the classification "Play Golf." (a) For the first tree, use Temperature as the root node (this is a really bad choice) Continue the construction of tree as discussed in class for the subsequent nodes using information gain. Remember that different attributes can be used in different branches on a given level of the tree. (b) For the second ree, follow the Decision Tree Learning algorithm described in class. At each step, choose the attribute with the highest information gain. Work out the computations of information gain by hand and draw the decision treeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started