Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You will use your student ID parameters X and Y in this question] A decision tree classifier needs to be designed to determine whether a
You will use your student ID parameters X and Y in this question] 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. P1 no Age 40 no yes P5 > 40 P6 > 40 P7 31...40 Income Student Credit Buys_computer high no fair high excellent high no fair yes medium fair low yes fair yes low yes excellent low yes excellent medium no fair no low yes fair yes medium yes fair yes medium yes excellent yes medium no excellent high yes fair yes medium no excellent no yes PS 40 P10 P11 P12 40 This problem is parameterized as follows. X=0,1,2 Age X=3,4 Income X=5,6 Student X=7,8,9 Credit Parameter 1 (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
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