Compute a depth-two decision tree for the training data in table 1 using the Gini function,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
The error rate for the data without partitioning on any attribute is E 1max501... View the full answer
Related Book For
Introduction to Data Mining
ISBN: 978-0321321367
1st edition
Authors: Pang-Ning Tan, Michael Steinbach, Vipin Kumar
Posted Date:
Students also viewed these accounting questions
-
Choose a Country That you would like to learn about and explore its macro-economy. Prepare a policy brochure to provide to everyone at the world economic forum weforum.org suppose you have been...
-
Explain why you would like to learn about the three topics below (why are they important to you) and how they could apply to your career, etc... *diversifying, structuring and restructuring *growing...
-
After you have modified your Decision Tree for the Pennzoil/Texaco case to show that the court case's minimal award has been changed to the $2B dollars as advised by the legal team, does your...
-
Make a balance sheet for the following data- One Time Start-Up Costs: Rent Deposit $4,000 Furniture & Fixtures $8,000 Equipment $6,000 Buildout/ Renovations $10,000 Decorating, Painting and...
-
Unusually high snowfall during the past winter resulted in Brocktons costs for snow plowing and removal to reach $320,200. This represents 127% of its budgeted cost. Rounded to the nearest $100, what...
-
For each of the accounts listed, indicate whether it is an asset (A), a liability (L), or an owners equity (OE) account. If it is an account that affects owners equity, indicate whether it is a...
-
Amanda Forbes was hired as a nail technician by Showmann, Inc., in 2011. In 2017, Forbes attended a work-related holiday party where Showmann distributed raffle tickets to employees. One of the...
-
Hoschild Bicycle Company manufactures bicycles. The following data for September of the current year are available: Quantity of direct labor used ........ 850 hrs. Actual rate for direct labor...
-
(20 pts) Design a combinational circuit that counts ones at its inputs. The circuit has three 1-bit binary inputs (x, y, z) and two 1-bit binary outputs (f2, f1). "f2f1" is "00" if none of the inputs...
-
1. Liam Richardson is the business manager for the Smith & Lyngate Insurance agencies in the state of Maryland. Liam is interested in increasing the number of agents in Baltimore and plans to buy...
-
A charge +Q is fixed two diagonally opposite corners of a square with sides of length L. On another corner of the square a charge of +5Q if fixed as shown in the Figure. On the empty corner a charge...
-
What are the reasons that cause the difference in products costs by using activity-based costing and traditional methods?And why product/services will be under-cost or over-cost?
-
Lewis Company uses weighted average process costing system. Material is added at the start of production. Lewis Company started 13,000 units into production and had 4,500 units in process at the...
-
A skidding car slows down while moving to the right on a level surface. The only horizontal force acting on the car is friction (Ff). What is the direction of acceleration of the car? Left or Right?...
-
A toy connected to a spring slides across the surface of a frictionless table. The spring is able to stretch 45 cm during the toy's travels. If the spring constant for this spring is 25 N/m, how much...
-
create a program that Show all users on the system . 2 - Show all groups . 3 - Create new user / set password . 4 - Check the user information in the file password / group 5 - Create group named...
-
Given that A + 2B reaction with 5 mol of A and 8 mol of B? A. D. 4 mol 5 mol BE C, what is the amount of C formed by starting the E. 8 mol 3 mol C. 16 mol
-
Provide examples of a situations in which environmental disruptions affected consumer attitudes and buying behaviors.
-
Consider a group of documents that has been selected from a much larger set of diverse documents so that the selected documents are as dissimilar from one another as possible. If we consider...
-
Consider the following approach for testing whether a classifier A beats another classifier B. Let N be the size of a given data set, pA be the accuracy of classifier A, pB be the accuracy of...
-
Would the cosine measure be the appropriate similarity measure to use with K-means clustering for time series data? Why or why not? If not, what similarity measure would be more appropriate?
-
In a hypothesis test the p value is 0.043. This means that we can find statistical significance at: (1) both the 0.05 and 0.01 levels (2) the 0.05 but not at the 0.01 level (3) the 0.01 but not at...
-
In testing the null hypothesis that p = 0:3 against the alternative that p 0:3, the probability of a type II error is ______ when the true p = 0:4 than when p = 0:6. (1) the same (2) smaller (3)...
-
An article states there is no significant evidence that median income increased. The implied null hypothesis is: (1) Median income increased. (2) Median income changed. (3) Median income did not...
Study smarter with the SolutionInn App