Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. In this exercise we consider a problem we have all faced - getting to a restaurant and they tell you the wait time is.

image text in transcribed

3. In this exercise we consider a problem we have all faced - getting to a restaurant and they tell you the "wait time is". We want to make a Decision Tree to help decide whether we should wait or not. There are two possible outcomes: wait or leave. We consider 4 attributes to help us make the decision. The attributes are: (i) Wait time, (ii) Is there a bar available to wait at?, (iii) Is there a good alternative available? and (iv) Are you really hungry? Three of these attributes are just "yes" or "no" but the wait time is either 0-10 10-20, 20-30, 30-60 minutes or more than an hour. Our training set is given in the table below # | Wait Time | Bar Available to wait? | Alternative Available? | Hungry? | Outcome 10-30 30-60 10-30 10-30 >60 0-10 10-30 10-30 10-30 30-60 30-60 30-60 WAIT LEAV LEAVE AVE WAIT WAIT AVE LEAVE AVE WAIT 10 12 (a) Use the attribute "Wait time" as the root which has 4 possibilities. Because the data set is so small for 2 of these 4 possibilities the outcome is immediately determined. Draw the Decision Tree with this root question and its 4 possibilities; indicate the outcome for the two which are now determined 3. In this exercise we consider a problem we have all faced - getting to a restaurant and they tell you the "wait time is". We want to make a Decision Tree to help decide whether we should wait or not. There are two possible outcomes: wait or leave. We consider 4 attributes to help us make the decision. The attributes are: (i) Wait time, (ii) Is there a bar available to wait at?, (iii) Is there a good alternative available? and (iv) Are you really hungry? Three of these attributes are just "yes" or "no" but the wait time is either 0-10 10-20, 20-30, 30-60 minutes or more than an hour. Our training set is given in the table below # | Wait Time | Bar Available to wait? | Alternative Available? | Hungry? | Outcome 10-30 30-60 10-30 10-30 >60 0-10 10-30 10-30 10-30 30-60 30-60 30-60 WAIT LEAV LEAVE AVE WAIT WAIT AVE LEAVE AVE WAIT 10 12 (a) Use the attribute "Wait time" as the root which has 4 possibilities. Because the data set is so small for 2 of these 4 possibilities the outcome is immediately determined. Draw the Decision Tree with this root question and its 4 possibilities; indicate the outcome for the two which are now determined

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

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

What are the objectives of job evaluation ?

Answered: 1 week ago

Question

Write a note on job design.

Answered: 1 week ago

Question

Compute the derivative of f(x)cos(-4/5x)

Answered: 1 week ago

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

Prepare an electronic rsum.

Answered: 1 week ago

Question

Strengthen your personal presence.

Answered: 1 week ago

Question

Identify the steps to follow in preparing an oral presentation.

Answered: 1 week ago