Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Public Finance

Authors: Charles Francis Bastable

1st Edition

1375520083, 978-1375520089

More Books

Students also viewed these Finance questions

Question

What are some of the possible scenes from our future?

Answered: 1 week ago