Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2 Consider the decision tree shown in the diagram below. The counts shown in the leaf nodes correspond to the number of training records

image text in transcribed

image text in transcribed

Question 2 Consider the decision tree shown in the diagram below. The counts shown in the leaf nodes correspond to the number of training records associated with the nodes 0 0 5 0 (a) Compute the training error rate for the tree (b) Estimate the generalization error for the tree using the pessimistic error rate approach (Assume the cost of each leaf is 2) (c) Suppose the nodes labeled as D and E in the previous decision tree are replaced by their corresponding leaf nodes. Estimate the generalization error of the pruned tree using the pessimistic error rate approach. Use your answers for part (b) and (c) to determine whether the original tree should be pruned (d) Using the validation set shown below, determine whether the nodes D and E in the decision tree should be replaced by their corresponding leaf nodes A BCD E Class 0 10 1 0- 0 10 0 0 11 1 1 11 011 Question 2 Consider the decision tree shown in the diagram below. The counts shown in the leaf nodes correspond to the number of training records associated with the nodes 0 0 5 0 (a) Compute the training error rate for the tree (b) Estimate the generalization error for the tree using the pessimistic error rate approach (Assume the cost of each leaf is 2) (c) Suppose the nodes labeled as D and E in the previous decision tree are replaced by their corresponding leaf nodes. Estimate the generalization error of the pruned tree using the pessimistic error rate approach. Use your answers for part (b) and (c) to determine whether the original tree should be pruned (d) Using the validation set shown below, determine whether the nodes D and E in the decision tree should be replaced by their corresponding leaf nodes A BCD E Class 0 10 1 0- 0 10 0 0 11 1 1 11 011

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

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

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

Students also viewed these Databases questions

Question

5 The mechanics of the circular flow model.

Answered: 1 week ago

Question

1 The difference between a command system and a market system.

Answered: 1 week ago

Question

4 How the market system adjusts to change and promotes progress.

Answered: 1 week ago