Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. Compute a depth-two decision tree for the training data in table 1 using the Gini function, C(a) = 2a(1a) as described in class.
3. Compute a depth-two decision tree for the training data in table 1 using the Gini function, C(a) = 2a(1a) as described in class. What is the overall accuracy on the training data of the tree? Z Number of positive examples Number of negative examples X Y 0 0 0 10 0 0 1 25 0 0 35 0 1 1 35 1 0 0 5 1 0 1 30 1 1 0 10 1 1 1 15 Table 1: decision tree training data 20 5 15 5 15 10 10 5
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