Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Parameter1=Credit A decision tree classifier needs to be designed to determine whether a person is going to buy a computer based on several attributes. The
Parameter1=Credit
A decision tree classifier needs to be designed to determine whether a person is going to buy a computer based on several attributes. The table of training set is given below. Buys_computer P1 no P2 no P3 P4 yes yes yes P5 Credit fair excellent fair fair fair excellent cxcellent fair fair fair P6 no Age Income Student 40 medium no > 40 low ycs > 40 low yes 31...40 low yes 40 medium yes 40 medium ne) P7 yes P8 no P9 yes yes P10 P11 excellent yes P12 no yes P13 excellent fair excellent yes P14 This problem is parameterized as follows. X=0,1,2 Age Parameter1 X=3,4 Income X=5,6 Student X=7,8,9 Credit (a) Calculate the entropy of the entire population. (b) If Parameter 1 is chosen at the root node, calculate the information gain. (c) Calculate the Gini Index of Parameter1. (d) Suppose "Age" is chosen at the root node, and then "Income" is chosen as the next attribute. Draw the decision spaceStep 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