Answered step by step
Verified Expert Solution
Link Copied!

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 11 different weekends. On each of these weekends you have noted the weather (sunny, windy, or rainy), whether her parents visit (visit or no-visit), whether she has drawn cash from an ATM machine (rich or poor), and whether she had an exam during the coming week (exam or no-exam).
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions

Question

Discuss all branches of science

Answered: 1 week ago

Question

Did the decisions need to be made, or had they already been made?

Answered: 1 week ago

Question

When there was controversy, was it clear who had the final say?

Answered: 1 week ago