Menu

[Solved]Task 5 20 Points Node Test Weekend Yes Node B Test Hungry Node C Test Raining Yes Node D A Q37214346

Task 5 20 points Node A Test: Weekend? yes no Node B Test: Hungry? Node C Test: Raining? no yes no Node D Answer will wait No

Task 5 20 points Node A Test: Weekend? yes no Node B Test: Hungry? Node C Test: Raining? no yes no Node D Answer will wait Node E Test: Weekend? Node G Answer: will not wait Node F Answer will wait yes no Node I Answer: will wait Node H Answer: will not wait Figure 3: A decision tree for estimating whether the patron will be willing to wait for a table at a restaurant. Part 톄 (5 ponts : Suppose that on the enti e set of trung samples available for constructing the decas on ree of Figure 1 80 people decaded to Part b (5 points): As mentioned in the previous part, at node A 80 poople decided to wait, and 20 pcople doci ded not to wart. ait und 20 people decided not to wnit w at is he uu 1 en ropy at node befre he est is applied? Out of the cases where pcopie docided to wait. in 20 cases it was weekend and in 60 cases it was not weekend. · .Out of the cases where people decicled not o wait, in 15 was weekend amd in 5 ases it was nt weekendl What is the information guin for the weekend test at node AT Part c 5 points): In the decision tree of Figurc 1, nodc E uscs the exact sanmc test (whether it is wcckend or not) as nodc A. What is the infoemation gain, at node E, of using the wcckend test? Part d 〔5 po nts : We have a lest ease of a hungry palmn who came in on a rain Sunday. Which lea node does this est case en up n? what does he decision tree output for hat case? Show transcribed image text Task 5 20 points Node A Test: Weekend? yes no Node B Test: Hungry? Node C Test: Raining? no yes no Node D Answer will wait Node E Test: Weekend? Node G Answer: will not wait Node F Answer will wait yes no Node I Answer: will wait Node H Answer: will not wait Figure 3: A decision tree for estimating whether the patron will be willing to wait for a table at a restaurant. Part 톄 (5 ponts : Suppose that on the enti e set of trung samples available for constructing the decas on ree of Figure 1 80 people decaded to Part b (5 points): As mentioned in the previous part, at node A 80 poople decided to wait, and 20 pcople doci ded not to wart. ait und 20 people decided not to wnit w at is he uu 1 en ropy at node befre he est is applied? Out of the cases where pcopie docided to wait. in 20 cases it was weekend and in 60 cases it was not weekend. · .Out of the cases where people decicled not o wait, in 15 was weekend amd in 5 ases it was nt weekendl What is the information guin for the weekend test at node AT Part c 5 points): In the decision tree of Figurc 1, nodc E uscs the exact sanmc test (whether it is wcckend or not) as nodc A. What is the infoemation gain, at node E, of using the wcckend test? Part d 〔5 po nts : We have a lest ease of a hungry palmn who came in on a rain Sunday. Which lea node does this est case en up n? what does he decision tree output for hat case?

Expert Answer


Answer to Task 5 20 points Node A Test: Weekend? yes no Node B Test: Hungry? Node C Test: Raining? no yes no Node D Answer will wa… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *