(15 marks) Association rules, also known as market basket analysis or affinity analysis is a technique...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(15 marks) Association rules, also known as "market basket analysis" or "affinity analysis" is a technique which correlates products with each other. This technique helps to identify relations between purchases of different products. For the purpose of this exercise, let's examine the customers' orders, listed in table 1, at a restaurant. Association Rule Order # 2 3 45 8 9 Part-II-Question 1. Ordered Item 1 Burger Burger Salads Burger Salads Burger Burger Fries Fries Ordered Item 2 Fries Salads Coffee Fries Coffee Fries Fries Coffee Burger Table-1 What are the relevant items? I Ordered Item 3 Fries Salads Coffee Salads Part-II-Question 1. What are the relevant items? Part-II-Question 2. Generate the co-occurrence matrix. Part-II-Question 3. Calculate the support, confidence, and lift for the following three rules: R1: IF (Burger) THEN (Fries) R2: IF (Salad and Burger) THEN (Fries) R3: IF (Burger) THEN (Fries and Coffee) Order # Rule Occurrence (from Q3) Support Table-2 Confidence % Lift Ratio Part-II-Question 4. Consider the results of the market basket analysis shown in the Figure below. Examine the first row and answer the following questions. i How is the "Confidence % output is calculated. Explain the output. ii. How the "Lift Ratio" is calculated. Explain the output. Bow 10 Confidence S SERAATO 51 54 29 27 49 52 15 17 Antecedent (A) Consequent (C) Nail Polish & Bronzer Brushes & Concealer 80.52 Brushes & Concealer 60.19 Nail Polish & Bronzer 81.58 Nail Polish & Concealer & Bronzer Brushes 56.36 Brushes 76.36 Brushes 81 55 Nail Polish & Bronzer 75.81 Brushes & Bronzer 56.88 Nail Polish & Concealer 70.64 Nail Polish & Concealer 70.00 Brushes 67.07 Blush & Nail Polish 50.00 Brushes Nail Polish & Concealer & Bronzer Nail Polish & Bronzer Brushes Nail Polish & Concealer Brushes & Bronzer Brushes Nail Polish & Concealer Brushes Blush & Nail Polish Figure-1 Support for A Support for C Support for A & C 77 103 77 103 76 110 110 103 84 171109 109 110 82 110 110 76 103 110 109 84 110 109 110 82 Lift Ratio 62 3.908712647 62 3.908712647 62 3.708133971 62 3.708133971 34 3706972639 84 3.706972639 62 3.385757973 62 3.385757973 77 3.211009174 77 3211009174 55 3048780488 55 3.048780488 (15 marks) Association rules, also known as "market basket analysis" or "affinity analysis" is a technique which correlates products with each other. This technique helps to identify relations between purchases of different products. For the purpose of this exercise, let's examine the customers' orders, listed in table 1, at a restaurant. Association Rule Order # 2 3 45 8 9 Part-II-Question 1. Ordered Item 1 Burger Burger Salads Burger Salads Burger Burger Fries Fries Ordered Item 2 Fries Salads Coffee Fries Coffee Fries Fries Coffee Burger Table-1 What are the relevant items? I Ordered Item 3 Fries Salads Coffee Salads Part-II-Question 1. What are the relevant items? Part-II-Question 2. Generate the co-occurrence matrix. Part-II-Question 3. Calculate the support, confidence, and lift for the following three rules: R1: IF (Burger) THEN (Fries) R2: IF (Salad and Burger) THEN (Fries) R3: IF (Burger) THEN (Fries and Coffee) Order # Rule Occurrence (from Q3) Support Table-2 Confidence % Lift Ratio Part-II-Question 4. Consider the results of the market basket analysis shown in the Figure below. Examine the first row and answer the following questions. i How is the "Confidence % output is calculated. Explain the output. ii. How the "Lift Ratio" is calculated. Explain the output. Bow 10 Confidence S SERAATO 51 54 29 27 49 52 15 17 Antecedent (A) Consequent (C) Nail Polish & Bronzer Brushes & Concealer 80.52 Brushes & Concealer 60.19 Nail Polish & Bronzer 81.58 Nail Polish & Concealer & Bronzer Brushes 56.36 Brushes 76.36 Brushes 81 55 Nail Polish & Bronzer 75.81 Brushes & Bronzer 56.88 Nail Polish & Concealer 70.64 Nail Polish & Concealer 70.00 Brushes 67.07 Blush & Nail Polish 50.00 Brushes Nail Polish & Concealer & Bronzer Nail Polish & Bronzer Brushes Nail Polish & Concealer Brushes & Bronzer Brushes Nail Polish & Concealer Brushes Blush & Nail Polish Figure-1 Support for A Support for C Support for A & C 77 103 77 103 76 110 110 103 84 171109 109 110 82 110 110 76 103 110 109 84 110 109 110 82 Lift Ratio 62 3.908712647 62 3.908712647 62 3.708133971 62 3.708133971 34 3706972639 84 3.706972639 62 3.385757973 62 3.385757973 77 3.211009174 77 3211009174 55 3048780488 55 3.048780488
Expert Answer:
Related Book For
Posted Date:
Students also viewed these accounting questions
-
Let TA : R2 R3 be the matrix transformation corresponding to Find TA (u) and Where And 311 2 2
-
This exercise refers to the relations R1 and R2 given below. Show the relations created as a result of the following relational algebra operations Relation R1 Rl.a R1.b R1.c 30 a 20 45 b 32 75 a 24...
-
If two resistors with resistances R1 and R2 are connected in parallel, as in the figure, then the total resistance R, measured in ohms (), is given by 1/R = 1/R1 + 1/R2 If R1 and R2 are increasing at...
-
The 10-year Coupon Bond has a face value of $1,000, the annual coupon rate is 5 percent (out of its face value), the yield to maturity is 10 percent. (2.a) show me the cash flows of this coupon bond,...
-
What would be the effect of increasing solvent polarity on the rate of each of the following nucleophilic substitution reactions? (a) Nu: + R-L R-Nu+ + :L (b) R-L+ R+ + :L
-
Kenneth Wheeler was angry at certain police officers in Grand Junction, Colorado, because of a driving-under-the-influence arrest that he viewed as unjust. While in Italy, Wheeler posted a statement...
-
Suppose that in the maintenance of a large medicalrecords file for insurance purposes the probability of an error in processing is 0.0010, the probability of an error in filing is 0.0009, the...
-
Togos Sandwich Shop had the following long-term asset balances as of January 1, 2015: Togos purchased all the assets at the beginning of 2013 (3 years ago). The building is depreciated over a 10-year...
-
"The post states a single concept, definition, and how you would utilize this in the business world?
-
Do high school programs that emphasize science, technology, engineering and mathematics (STEM) lead to jobs? This was a question of interest in the second Longitudinal Study of Young People in...
-
Frost Company produces cupcakes in large batches. Three departments are involved in the production process -- Mixing, Baking, and Packaging. Frost uses a process costing system. If products with a...
-
1. Calculate the NPV and Profitability Index for each of the following projects, assuming the cost of capital is 7%. YEAR iPad Pro iPhone 9 I 0 -36,000 -11,500 1 18,000 0 2 12,600 7,500 3 4,500 4,000...
-
How does the central bank imply Bank Rate fluctuations as the monetary policy mechanism? Explain.
-
A project's base case or most likely NPV is $44,000, and assume its probability of occurrence is 50%. Assume the best-case scenario NPV is 65% higher than the base case and assume the worst scenario...
-
4. Consider a 30-year U.S. Treasury bond paying 4.5 percent coupon, and selling for $1010. What is the yield to maturity? Make sure to show your work. 5. A 30-year U.S. corporate bond with a 6...
-
Victor Korchnoi bought a bond one month before a semi-annual coupon was due. The face value was $10,000 and the coupon rate 8.5%. At the time of purchase there were 34 coupons left and the YTM was 6%...
-
Put your names at the beginning of your program Collaborative work and submission in pairs only are allowed Any program written and completed by an Al ChatBot (ChatGPT) will be immediately rejected...
-
Describe the general ways that the revised Form 990, applicable for tax year 2008 and beyond, is different from previous versions.
-
Sam Gray, the CEO of Steele Corporation, was meeting with the company controller to discuss a possible major lease of a new production facility. Steele Corporation had a large amount of debt, and Sam...
-
Selected account balances for Megans Mocha at the end of the month are listed below in random order: Accounts...
-
Evergreen Supply, Co., shows the following financial statement data for 201 0, 2011, and 201 2. Prior to issuing the 2012 statements, auditors found that the ending inventory for 2010 was understated...
-
What is the financial forecasting, and why do we need it?
-
Briefly explain the way by which a firm would know if it needs new financing.
-
What are the major models of forecasting, and how different are they from each other?
Study smarter with the SolutionInn App