Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Cheat No No No Yes Yes Yes No No No No Taxable income 60 70 Sorted Values 75 85 90 95 100 120 125 220
Cheat No No No Yes Yes Yes No No No No Taxable income 60 70 Sorted Values 75 85 90 95 100 120 125 220 Split Positions 55 6572 80 87 92 97 110 122 172 230 Yes 0 3 0 3 0 3 0 3 1 2 2 1 3 0 3 0 3 0 3 0 3 0 No 0 7 1 6 2 5 3 4 3 4 3 4 3 4 4 3 5 2 617 0 Gini 0.420 0.400 0.375 0.343 0.417 0.400 0.300 0.343 0.375 0.400 0.420 6. (Extra credit: 34%) From the table of slide 4.37 (also in Q5 above_, we see that Taxable income 97K has the smallest Gini index. (a) (15%) Derive a decision tree starting from Taxable income 97K as the first attribute to split. (b) (7%0 Derive a decision tree starting from Taxable income 80K as the first attribute to split. (80K is what we used before) (c) (7%) Derive a decision tree starting from Taxable income income as the first attribute to split, where income is a number you pick yourself from the table other than 80K or 97K (d) (5%) Compare the results of (a), (b), (c). Cheat No No No Yes Yes Yes No No No No Taxable income 60 70 Sorted Values 75 85 90 95 100 120 125 220 Split Positions 55 6572 80 87 92 97 110 122 172 230 Yes 0 3 0 3 0 3 0 3 1 2 2 1 3 0 3 0 3 0 3 0 3 0 No 0 7 1 6 2 5 3 4 3 4 3 4 3 4 4 3 5 2 617 0 Gini 0.420 0.400 0.375 0.343 0.417 0.400 0.300 0.343 0.375 0.400 0.420 6. (Extra credit: 34%) From the table of slide 4.37 (also in Q5 above_, we see that Taxable income 97K has the smallest Gini index. (a) (15%) Derive a decision tree starting from Taxable income 97K as the first attribute to split. (b) (7%0 Derive a decision tree starting from Taxable income 80K as the first attribute to split. (80K is what we used before) (c) (7%) Derive a decision tree starting from Taxable income income as the first attribute to split, where income is a number you pick yourself from the table other than 80K or 97K (d) (5%) Compare the results of (a), (b), (c)
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