Question: 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

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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!