Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have a friend who only does one of four things on every Saturday afternoon: go shopping, watch a movie, play tennis, or just stay
You have a friend who only does one of four things on every Saturday afternoon: go shopping, watch a movie, play tennis, or just stay in You have observed your friends behavior over different weekends. On each of these weekends you have noted the weather sunny windy, or rainy whether her parents visit visit or novisit whether she has drawn cash from an ATM machine rich or poor and whether she had an exam during the coming week exam or noexam
You have built the following data table:
You now want to build a decision tree to predict the activity of your friend on any future Saturday afternoon from the observed values of Weather, Parents, Cash, and Exam.
i Suppose that you want to build a very simple decision tree that allows you to predict the value of Decision from a single observable attribute Weather Parents, Cash, or Exam What would be this attribute? If there is a tie among several attributes give each of them. For each attribute that you have selected for each value of this attribute, give the answer that the decision tree would give using the majority rule, as well as the number of misclassified examples.
ii Draw the full tree that correctly classifies all the examples.
Step 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