e) A retailer wants for marketing purposes distinguish between costumers younger than 35 and customers older...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
e) A retailer wants for marketing purposes distinguish between costumers younger than 35 and customers older than 35. The following table summarizes the data set in the database of the retailer in an abstract form. The relevant attributes, determined by domain knowledge, are for convenience denoted by A, B and C. The values for A are al, a2 and a3. The values for B are b1 and b2. The values for Care c1 and c2. Assume that the retailer wants to use Decision Trees to classify the costumers in the class "young", denoted by Y, and "old", denoted by O. i) Compute the Classification error for the A attribute. ii) According to the Classification error, which attribute would be chosen as the first splitting attribute? For each attribute, show the contingency table and the corresponding Classification error. iii) Draw the resulting Decision Tree of depth 1, based on your outcome of Part ii. iv) Repeat Part ii for the children of the root node, i.e. the nodes on level 1. A B C al bl cl a2 bl cl a3 bl cl al b2 cl a2 b2 cl a3 b2 cl al bl c2 a2 bl c2 a3 bl c2 al b2 c2 a2 b2 c2 a3 b2 c2 Number of Instances Y 14 O 6 0 6 0 0 NONOO 8 2 2 4 O 4 2 12 4 6 8 O O 4 2 O Figure 5: Marketing data set e) A retailer wants for marketing purposes distinguish between costumers younger than 35 and customers older than 35. The following table summarizes the data set in the database of the retailer in an abstract form. The relevant attributes, determined by domain knowledge, are for convenience denoted by A, B and C. The values for A are al, a2 and a3. The values for B are b1 and b2. The values for Care c1 and c2. Assume that the retailer wants to use Decision Trees to classify the costumers in the class "young", denoted by Y, and "old", denoted by O. i) Compute the Classification error for the A attribute. ii) According to the Classification error, which attribute would be chosen as the first splitting attribute? For each attribute, show the contingency table and the corresponding Classification error. iii) Draw the resulting Decision Tree of depth 1, based on your outcome of Part ii. iv) Repeat Part ii for the children of the root node, i.e. the nodes on level 1. A B C al bl cl a2 bl cl a3 bl cl al b2 cl a2 b2 cl a3 b2 cl al bl c2 a2 bl c2 a3 bl c2 al b2 c2 a2 b2 c2 a3 b2 c2 Number of Instances Y 14 O 6 0 6 0 0 NONOO 8 2 2 4 O 4 2 12 4 6 8 O O 4 2 O Figure 5: Marketing data set
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Describe how the Christian worldview impacts the job role and duties of an HR representative Explain.
-
The following table summarizes a data set with three attributes A, B, C and two class labels +, . Build a two-level decision tree. (a) According to the classification error rate, which attribute...
-
The following is a Southern blot of EcoRI-digested DNA of rye plants from two different inbred lines, A and B. Developed autoradiogram I shows the bands resulting from probing the blot with...
-
A particle of mass m moves along the x-axis under a force F = ??m?2x. The amplitude is b. Show that the period is given by 4. T= dx, (11.83) where (11.84) Y =1+ 2c2 (2-2).
-
Use nodal analysis to find VO in the circuit shown. 4 kQ 6 kQ 4 kQ 3 kQ 4 mA 2 mA
-
Your client, Jacob, turned 66 years old this year. Jacob has no heirs and has decided that he would like to sell a life insurance policy to fund a trip to Africa that he has wanted to take. Jacob...
-
In a study of high school football players that suffered concussions, researchers placed the players in two groups. Players that recovered from their concussions in 14 days or less were placed in...
-
IT auditors need people skills as well as technical skills. One such skill is the ability to interview effectively. Discuss some techniques or tools that might help an interviewer get the best...
-
Emily bought 2,000 shares of FMI Fund at an NAVPS of $14.59 with a front-end load of 3%. The fund paid and reinvested a distribution of $1.17 per share. What is her total adjusted cost base?
-
You have been hired as the new controller for Paulson Paint, Inc. You will have the opportunity to utilize your financial and managerial accounting experience. You will be responsible for preparing...
-
On July 1, 2023, LIN Inc. issued a five-year, 10% bond of $400,000 for the discount price of $343,811. Interest is to be paid semi-annually on June 30 and December 31. The company's year end is July...
-
A 630x microscope uses a 0.30-cm-focal-length objective lens. If the barrel length is 15.5 cm, what is the focal length of the eyepiece?
-
Provide references for the following. To successfully manage a Security Operations Center (SOC), financial skills are essential to ensure effective oversight of budgets, resource allocation, and...
-
Attorney Kristin Maloney invoiced Cady for $38,100 and has agreed to accept 2,500 shares of its $0.01 par-value common stock in full payment for this invoice. CadyCady issued the common stock to...
-
A particle has momentum 1 . 2 0 GeV c and total energy 1 . 5 2 GeV. What is the speed of the particle? What is the mass of the particle?
-
1. How has social media changed the way we communicate with each other? 2. What are the positive and negative effects of social media on society? 3. How has social media influenced politics and...
-
Example 4. Find the general solution to the equation y" + y = sin z
-
A stock has had returns of 8 percent, 26 percent, 14 percent, 17 percent, 31 percent, and 1 percent over the last six years. What are the arithmetic and geometric average returns for the stock?
-
Find the direction cosines and direction angles of the vector. (Give the direction angles correct to the nearest degree.) (c, c, c), where c > 0
-
Graph both the sequence of terms and the sequence of partial sums on the same screen. Use the graph to make a rough estimate of the sum of the series. Then use the Alternating Series Estimation...
-
Find the first partial derivatives. g(u, v) = u + 2v/u 2 + v 2
-
Show that \(\mu_{2}^{\prime}\) and, hence, \(\sigma^{2}\) do not exist for the probability density of Exercise 5.6. Data From Exercise 5.6 5.6 Given the probability density f(x) = -
-
Find \(\mu\) for the distribution of the satisfactory service of Exercise 5.10. Data From Exercise 5.10 5.10 The length of satisfactory service (years) provided by a certain model of laptop computer...
-
Find \(\mu\) and \(\sigma\) for the distribution of the phase error of Exercise 5.9. Data From Exercise 5.9 5.9 Let the phase error in a tracking device have probabil- ity density f(x) = (9) = { o...
Study smarter with the SolutionInn App