Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started