Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Given below is a summary table of a dataset. Solve the following problems by hand (and a calculator). A B C Number of

1. Given below is a summary table of a dataset. Solve the following problems by hand (and a calculator). A B C Number of instances Class = + Class = - =- T T T 5 0 F T T 0 20 T F T 20 0 F F T 0 5 T T F 0 0 F T F 25 0 T F F 0 0 F F F 0 25 Please note each row in the table represents a group of records with the same attribute values. There are 100 records in total: (5 +20 +25) positives and (20+ 5+ 25) negatives. 1) Train a DT by using the given dataset. Use entropy as the impurity measure. Grow the DT until it reaches level 3, i.e., the (deepest) leaf nodes are at level 3 (root at level 1). 2) Evaluate performance of the DT by error rate for the train set (i.e. resubstitution error). 3) Repeat the above questions, but begin with C as the split at the root this time. 4) Compare the error rates of the DTs. Which DT is better? Based on the comparison, comment on the greedy approach of the DT algorithm.

Step by Step Solution

3.41 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

To solve this problem we will build decision trees using the given dataset calculate the error rates for each tree and compare the results Part 1 Buil... 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

Step: 3

blur-text-image

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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

y = 4x Graph the equation by hand.

Answered: 1 week ago

Question

A 300N F 30% d 2 m Answered: 1 week ago

Answered: 1 week ago