Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4 : Decision trees The data in Table 1 shows attributes that might influence a family's decision on where to go for their vacation.

Question 4: Decision trees
The data in Table 1 shows attributes that might influence a family's decision on
where to go for their vacation. The target variable is whether the family chose the
destination (Yes or No).
Table 1: Vacation destination attributes and family's choices.
(a) Explain what Entropy and Information Gain represent in the context of the
ID3 algorithm to construct decision trees. Explain what these values mean in
practice.
(b) Calculate the base Entropy of this data set. Show every step of your calcula-
tion, including how you determine the ratios.
(c) Calculate the Information Gain for each of the attributes. Show all the ratios,
steps and calculations.
(d) Based on your calculations, which attribute(s) will be used as the root node
of the decision tree? Explain why.
(e) Discuss how ID3 proceeds once it has determined the root node. Use your
root node as an example to start your discussion. Indicate how the dataset
gets modified in the next steps of the algorithm.
image text in transcribed

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

Name and describe the major forms of direct marketing.

Answered: 1 week ago