Question: 7. The following table lists a dataset collected in an electronics shop showing details of customers and whether they responded to a special offer to

7. The following table lists a dataset collected in an electronics shop showing details of customers and whether they responded to a special offer to buy a new laptop.

ID AGE INCOME STUDENT CREDIT BUYS 1 40 low yes bad yes

This dataset has been used to build a decision tree to predict which customers will respond to future special offers. The decision tree, created using the ID3 algorithm, is shown below.

619 > 40 low yes good no 7 31-40 low yes good

a. The information gain (calculated using entropy) of the feature AGE at the root node of the tree is 0.247. A colleague has suggested that the STUDENT feature would be better at the root node of the tree. Show that this is not the case.

b. Yet another colleague has suggested that the ID feature would be a very effective at the root node of the tree. Would you agree with this suggestion?

ID AGE INCOME STUDENT CREDIT BUYS 1 40 low yes bad yes 619 > 40 low yes good no 7 31-40 low yes good yes 8

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 Principles Algorithms And Systems Questions!