Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Apply the Decision Tree(DT) algorithm to the training data in below table and clearly mention all steps and calculations of Entropy and Information Gain. Make

Apply the Decision Tree(DT) algorithm to the training data in below table and clearly mention all steps and calculations of Entropy and Information Gain. Make Decision Tree after applying calculations.

S#

Holiday

Weather

Paper

Picnic (Category)

1

Yes

Rainy

easy

No

2

Yes

Rainy

Difficult

No

3

Yes

Rainy

Difficult

Yes

4

Yes

Sunny

Difficult

Yes

5

Yes

Sunny

easy

Yes

6

Yes

Sunny

easy

No

7

Yes

Rainy

Difficult

No

8

Yes

Sunny

Difficult

Yes

9

No

Sunny

Difficult

No

  1. Which attribute would information gain choose as the root of the tree?
  2. Draw the decision tree that would be constructed by recursively applying information gain to select roots of sub-trees, as in the Decision-Tree-Learning algorithm.

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

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

How should a consultant be selected?

Answered: 1 week ago

Question

What were the issues and solutions proposed by each team?

Answered: 1 week ago

Question

3. Who would the members be?

Answered: 1 week ago