Question: 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 whetherParameter1=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 space

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!