Question: Compute a depth-two decision tree for the training data in table 1 using the Gini function, C(a) = 2a(1 a) as described in class.
Compute a depth-two decision tree for the training data in table 1 using the Gini function, C(a) = 2a(1 a) as described in class. What is the overall accuracy on the training data of the tree? XYZ Number of positive examples Number of negative examples 10 20 0 1 25 5 35 15 0 11 100 35 5 15 30 10 1 10 10 1 1 1 15 5 Table 1: decision tree training data
Step by Step Solution
3.54 Rating (161 Votes )
There are 3 Steps involved in it
The error rate for the data without partitioning on any attribute is E 1max501... View full answer
Get step-by-step solutions from verified subject matter experts
