Question

Use the set of the frequent item sequences to generate sequential rules (No need to generate...

Use the set of the frequent item sequences to generate sequential rules (No need to generate the frequent item sequences!). For each rule, calculate the support and the confidence.

AAAAAGwF4u9EQPwBAAAAYCsQfycC4g8AAAAAW4H4

Here is an example: consider the rule the frequent itemset <{ Eggs },{Tomatoes},{Vinegar}>. From this itemset we can create a sequential rule <{ Eggs },{Tomatoes}> -> <{Vinegar}> which says that if a customer bought Eggs and Tomatoes already, they are likely to buy Vinegar at a later time. Remember, the order of items in the antecedent is not important here so it is possible that customer bought first eggs and then tomatoes or the other way around.

For given frequent 2-item sequence , there is only one rule -> . For 3-item sequence , there will be two rules: -> and -> .

As with association rules, sequential rules have two important measures: the support and the confidence. The support of a rule A -> C is how many sequences contains the items from A followed by the items from C. For example, the support of the rule <{ Eggs },{Tomatoes}> -> <{Vinegar}> is 2 because the frequent item set <{ Eggs },{Tomatoes},{Vinegar}> appears twice while <{Tomatoes}, {Eggs },{Vinegar}> and <{ Eggs, Tomatoes},{Vinegar}> do not appear at all. The confidence of a rule A -> C is the support of the rule divided by the number of sequences containing the items from A. For example, Eggs and Tomatoes appear in three transactions so the confidence of the rule <{ Eggs },{Tomatoes}> -> <{Vinegar}> is 2/3 = 0.67 (or 67 % if written as a percentage). This means that only 67% of customers who bought Eggs and Tomatoes will buy Vinegar at a later time.

Show your work in excel or any format except Knime software.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

lo Mohe 4 Hnem the absve data เด็ th unab le Dv gahn Con Vaniate On he change note wworth at the point he fui? ANeovA ough hl

Add a comment
Know the answer?
Add Answer to:
Use the set of the frequent item sequences to generate sequential rules (No need to generate...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Use the set of the frequent item sequences to generate sequential rules (No need to generate...

    Use the set of the frequent item sequences to generate sequential rules (No need to generate the frequent item sequences!). For each rule, calculate the support and the confidence. Consider a threshold on support of 2 items. Show all the steps and work in excel or any format except knime software. in addition to the below picture please see the data: 1 3 -1 2 -1 7 -1 5 -1 8 -1 -2 3 4 -1 2 -1 1 -1...

  • (1) set the minimum support criterion at 0.6, identify the frequent 2-itemsets; Transaction It...

    (1) set the minimum support criterion at 0.6, identify the frequent 2-itemsets; Transaction Item Purchased 1 A B C 2 A C D 3 B C D 4 A D E 5 B C E 1 item set Support 2 itemset Support Frequent 2 Itemsets calculate lift ratio for below rules and interpret the results Rule Support of Antecedent {a} Support of Consequent {c} Support of {a & c} The confidence of the Rule Lift Ratio of the Rule Interpretation...

  • Consider the transactional database shown in the following table. Transaction ID Items Bought T100 Plum, Apple,...

    Consider the transactional database shown in the following table. Transaction ID Items Bought T100 Plum, Apple, Peach, Orange, Pear, Banana T200 Cherry, Apple, Peach, Orange, Pear, Banana T300 Plum, Mango, Orange, Pear, Kiwi, Strawberry T400 Plum, Watermelon, Avocado, Orange, Banana T500 Avocado, Apple, Orange, Lemon, Pear CONDITION: The minimum support is 60% and minimum confidence is 70%. Based on the CONDITION above, answer the following five questions. (1) Find all frequent itemsets using the Apriori algorithm. Show how the algorithm...

  • HELLO, I need a new unique answer for these Questions, (USE KEYBOARD TO ANSWER NO HANDWRITING...

    HELLO, I need a new unique answer for these Questions, (USE KEYBOARD TO ANSWER NO HANDWRITING PLEASE) ( ANSWER ALL QUESTIONS PLEASE) Subject : Management Information System MIS 201 Case Study: American Water Keeps Data Flowing American Water, founded in 1886, is the largest public water utility in the United States. Headquartered in Voorhees, N.J., the company employs more than 7,000 dedicated professionals who provide drinking water, wastewater and other related services to approximately 16 million people in 35 states,...

  • I need help with my very last assignment of this term PLEASE!!, and here are the instructions: After reading Chapter T...

    I need help with my very last assignment of this term PLEASE!!, and here are the instructions: After reading Chapter Two, “Keys to Successful IT Governance,” from Roger Kroft and Guy Scalzi’s book entitled, IT Governance in Hospitals and Health Systems, please refer to the following assignment instructions below. This chapter consists of interviews with executives identifying mistakes that are made when governing healthcare information technology (IT). The chapter is broken down into subheadings listing areas of importance to understand...

  • Discussion questions 1. What is the link between internal marketing and service quality in the ai...

    Discussion questions 1. What is the link between internal marketing and service quality in the airline industry? 2. What internal marketing programmes could British Airways put into place to avoid further internal unrest? What potential is there to extend auch programmes to external partners? 3. What challenges may BA face in implementing an internal marketing programme to deliver value to its customers? (1981)ǐn the context ofbank marketing ths theme has bon pururd by other, nashri oriented towards the identification of...

  • 1.- Based on the below reading, using Critical Analysis, based on the concepts of text, comment,...

    1.- Based on the below reading, using Critical Analysis, based on the concepts of text, comment, and answer What can we learn from the great business leaders? WHAT CAN WE LEARN FROM GREAT BUSINESS LEADERS? 2.- Depending on the below reading assigned, using Critical Analysis, based on the concepts of reading, comment on your optics regarding the last three paragraphs of the reading conclusions. WHAT CAN WE LEARN FROM THE BIG BUSINESS LEADERS? William Henry “Bill” Gates III was born...

  • CASE 20 Enron: Not Accounting for the Future* INTRODUCTION Once upon a time, there was a...

    CASE 20 Enron: Not Accounting for the Future* INTRODUCTION Once upon a time, there was a gleaming office tower in Houston, Texas. In front of that gleaming tower was a giant "E" slowly revolving, flashing in the hot Texas sun. But in 2001, the Enron Corporation, which once ranked among the top Fortune 500 companies, would collapse under a mountain of debt that had been concealed through a complex scheme of off-balance-sheet partnerships. Forced to declare bankruptcy, the energy firm...

  • Case: Enron: Questionable Accounting Leads to CollapseIntroductionOnce upon a time, there was a gleaming...

    Case: Enron: Questionable Accounting Leads to CollapseIntroductionOnce upon a time, there was a gleaming office tower in Houston, Texas. In front of that gleaming tower was a giant “E,” slowly revolving, flashing in the hot Texas sun. But in 2001, the Enron Corporation, which once ranked among the top Fortune 500 companies, would collapse under a mountain of debt that had been concealed through a complex scheme of off-balance-sheet partnerships. Forced to declare bankruptcy, the energy firm laid off 4,000...

  • A. Issues [1] In addition to damages for one year's notice period, can a trial judge...

    A. Issues [1] In addition to damages for one year's notice period, can a trial judge award significant damages for the mere fact of an employee's dismissal, or for the stigma that that dismissal brings? Or for the employer thereafter competing with the ex-employee for the clients, before the ex-employee has got a new job? B. Basic Facts [2] This is an appeal from 2009 ABQB 591 (CanLII), 473 A.R. 254. [3] Usually a judgment recites facts before law. But...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT