Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following Play Tennis dataset: The machine learning task is to predict whether to play tennis or not, based on the data about the

image text in transcribedimage text in transcribed

Consider the following Play Tennis dataset: The machine learning task is to predict whether to play tennis or not, based on the data about the weather. Suppose we are in the middle of inducing the decision tree. The current state of the decision tree is given below: (a) What should the tree output be in the leaf box labelled B? Explain. (2 marks) (b) Which data instances/records should be considered in node A? Write down the relevant instance ID numbers from the table. ( 2 marks) (c) Calculate the entropy at node A for the Humidity attribute. Show all the steps of your calculation. For your convenience the logarithm in base 2 of selected values are given in the following table. (4 marks) (d) We have already calculated the entropies of Temperature and Wind at node A, and they are both 0.96. Based on these values, and based on the result you obtained in (c) above, which attribute should be used to split node A ? (2 marks)

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions