Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question II: Decision Tree-Classifier (40 points) Suppose we are given, the dataset listed in table below for a classification problem. There are four input attributes.

image text in transcribed

Question II: Decision Tree-Classifier (40 points) Suppose we are given, the dataset listed in table below for a classification problem. There are four input attributes. We learn a decision tree classifier. Outlook Sunny Sunny Overcast Play Tennis No No Yes Rain Yes Temp. Humidity Hot High Hot High Hot High Mild High Cool Normal Cool Normal Cold Normal Mild Normal Mild Normal Mild High Hot Normal Mild High Rain Overcast Sunny Rain Sunny Overcast Overcast Rain Wind Weak Strong Weak Weak Strong Weak Weak Strong Strong Strong Weak Strong No Yes Yes Yes Yes Yes Yes No 1. [10 Points] Calculate the information gain for the four attributes. 2. [5 Points) Which attribute is used for the first split at the root node of the tree? Justify? 3. [20 Points] Draw the decision tree resulting from using this split alone. Show all your steps, work and calculation. Make sure to label the split attribute, the corresponding branches and the predicted label of each leaf. 4. [5 Points] How would this tree classify an example with Outlook = Rain, Temp = Hot, Humidity = Normal, and Wind = weak? Justify? =

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_2

Step: 3

blur-text-image_3

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

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

More Books

Students also viewed these Databases questions

Question

6. How do you expect to use active listening during the meeting?

Answered: 1 week ago