Answered step by step
Verified Expert Solution
Question
1 Approved Answer
U 'A 4' 7. The following table lists a dataset collected in an electronics shop showing details of customers and Whether they responded to a
U \\'A 4' 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 med no bad yes 5 > 40 low yes bad yes 6 > 40 low yes good no 7 31 40 low yes good yes 8 40 med yes bad yes 1 1 40 med no good no 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. 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 he better at the root node of the tree. Show that this is not the case. 13. 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
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