Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 04 [CLO 4] [10 marks] Apply the Decision Tree(DT) algorithm to the training data in below table and clearly mention all steps and calculations

image text in transcribed

Question 04 [CLO 4] [10 marks] 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 1 2 3 4 5 6 7 8 9 10 11 Yes Yes Yes Yes Yes Yes Yes Yes No No No Rainy Rainy Rainy Sunny Sunny Sunny Rainy Sunny Sunny Rainy Sunny easy Difficult Difficult Difficult easy easy Difficult Difficult Difficult Difficult easy Picnic (Category) No No Yes Yes Yes No No Yes No No No a) Which attribute would information gain choose as the root of the tree? b) 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. c) Generate Decision rules from decision tree

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

Big Data Systems A 360-degree Approach

Authors: Jawwad ShamsiMuhammad Khojaye

1st Edition

0429531575, 9780429531576

More Books

Students also viewed these Databases questions

Question

LO2 Identify components of workflow analysis.

Answered: 1 week ago