3.3 [4 pts] Which tree would you select? In other words, would you use the original...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
3.3 [4 pts] Which tree would you select? In other words, would you use the original decision tree or would you prune it? Briefly explain how you will decide. 3.4 [6 pts] Build the confusion matrices when using DT1 and DT2 to predict for the test set. hom 3.5 [4 pts] Compute the error rate of the DT1 and DT2 on the test set shown in the table 5. A tudha Test set 02869 Training set A B # of (+) instances # of (-) instances # of (+) instances # of (-) instances 0 0 1 22 0 1 0 1 0 1 4 3 2746 22 3 4 Table 5 7 30 6 4 6 3 6 4 1 (laf) 2 (T) 3 otoq8 2 6 (12) oltaR 3 Consider the decision trees shown in Figure 1. The decision tree in 1b is a pruned version of the original decision tree la. The training and test sets are shown in table 5. For every combination of values for attributes A and B, we have the number of instances in our dataset that have a positive or negative label. 0 B 0 B 1 bain ITC (a) Decision Tree 1 (DT1) 0 B 1 Figure 1 0 0 A B 2 (b) Decision Tree 2 (DT2) 3.3 [4 pts] Which tree would you select? In other words, would you use the original decision tree or would you prune it? Briefly explain how you will decide. 3.4 [6 pts] Build the confusion matrices when using DT1 and DT2 to predict for the test set. hom 3.5 [4 pts] Compute the error rate of the DT1 and DT2 on the test set shown in the table 5. A tudha Test set 02869 Training set A B # of (+) instances # of (-) instances # of (+) instances # of (-) instances 0 0 1 22 0 1 0 1 0 1 4 3 2746 22 3 4 Table 5 7 30 6 4 6 3 6 4 1 (laf) 2 (T) 3 otoq8 2 6 (12) oltaR 3 Consider the decision trees shown in Figure 1. The decision tree in 1b is a pruned version of the original decision tree la. The training and test sets are shown in table 5. For every combination of values for attributes A and B, we have the number of instances in our dataset that have a positive or negative label. 0 B 0 B 1 bain ITC (a) Decision Tree 1 (DT1) 0 B 1 Figure 1 0 0 A B 2 (b) Decision Tree 2 (DT2)
Expert Answer:
Answer rating: 100% (QA)
31 To estimate the generalization error rate of both trees using the optimistic approach we simply c... View the full answer
Related Book For
Understanding Basic Statistics
ISBN: 9781111827021
6th Edition
Authors: Charles Henry Brase, Corrinne Pellillo Brase
Posted Date:
Students also viewed these programming questions
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
THIRD AVENUE SOFTWARE HEALTH-CARE APP PROJECT This case is new for the ninth edition of Information Technology Project Management . The case provides an opportunity to apply agile and Scrum...
-
7:14 pm Sun 21 Mar < moodle.uowplatform.edu.au Expected return FIN 223 Investment Analysis Tutorial 3 Portfolio Theory 1. How does the level of risk aversion affect the curvature of indifference...
-
State whether or not the games having the given payoff matrices are strictly determined. For those that are, give the optimal pure strategies and the values of the strategies. 1. 2. 3. 4. -1 -3 3 2 4...
-
Based on Table 5P-6, calculate producer surplus for each producer when the price is $20. What is total producer surplus at this price? Table 5P-6: Buyer A DE $14 $30 Willingness to pay for one unit...
-
Consider the following cash flow profile and assume MARR is 10 percent/year. a. Determine the ERR for this project. b. Is this project economically attractive? EOY 0 2 3 4 5 6 NCF -$100 $15 $15 $15...
-
Gibbs Company purchases sails and produces sailboats. It currently produces 1,200 sailboats per year, operating at normal capacity, which is about 80% of full capacity. Gibbs purchases sails at $250...
-
17-x, 2 for x 0 Let f(x) = Find each limit. 17+x, for x>0 (A) lim f(x) (B) lim f(x) x-0 (C) lim f(x) x-0 (D) f(0)
-
Diana and Ryan Workman were married on January 1 of last year. Diana has an eight-year-old son, Jorge, from her previous marriage. Ryan works as a computer programmer at Datafile Inc. (DI) earning a...
-
3. You are asked to compute the free cash flows of a company for the next 5 years. You receive the following relevant selected information from the incremental earnings forecast: 5 0 Sales Costs of...
-
The accompanying figure illustrates the trade deficit of the United States since 1987. The United States has been consistently and, on the whole, increasingly importing more goods than it has been...
-
Interview both a line manager and an HR manager and try to establish what roles they play in relation to grievance and discipline handling in the workplace. How do your fi ndings compare with what we...
-
Which of the following statements about interface methods are correct? (Choose three.) A. A private static interface method can call default methods. B. A public static interface method can call...
-
Which control signal in Figure 4.24 is the most critical to generate quickly and how much time does the control unit have to generate it if it wants to avoid being on the critical path? In this...
-
What is the output of the following? A. 2-2 B. 200-1 C. 500-0 D. 500-2 E. The code does not compile. F. The code compiles but throws an exception at runtime. 1: package reader; 2: import 3: 4: public...
-
Study Illustration Capsule . It discusses CDAs focused low-cost strategy in the health care industry. Based on the information provided in the capsule, explain how CDA has built its competitive...
-
Which of the companies has the lowest accounts receivable turnover in the year 20X2? a. Company A. b. Company B. c. Company C. d. CompanyD. 20X1 20X2 Credit Sales Average Receivables Balance $1.0...
-
A marketing consultant was hired to visit a random sample of five sporting goods stores across the state of California. Each store was part of a large franchise of sporting goods stores. The...
-
Old Friends Information Service is a California company that is in the business of finding addresses of long-lost friends. Old Friends claims to have a 70% success rate. Suppose that you have the...
-
Bighorn sheep are beautiful wild animals found throughout the western United States. Data for this problem are based on information taken from The Desert Bighorn, edited by Monson and Sumner...
-
Using the knowledge you gained from your interview in mini case 1 , design an interface for the individual you interviewed. What interface design modifications are you making so that the program will...
-
The capital market line, CML, is the graph of the risk and return of portfolio combinations consisting of the risk-free asset and: A. Any risky portfolio. B. The market portfolio. C. The leveraged...
-
Relative to portfolios on the CML, any portfolio that plots above the CML is considered: A. Inferior. B. Inefficient. C. Unachievable.
Study smarter with the SolutionInn App