Question

By applying the Apriori algorithm to the dataset in the table below: 10 Beer, Nuts, Diapers...

By applying the Apriori algorithm to the dataset in the table below:

10

Beer, Nuts, Diapers

20

Beer, Coffee, Diapers

30

Beer, Diapers, Eggs, Milk

40

Nuts, Eggs, Milk

50

Beer, Coffee, Milk

60

Diapers, Eggs, Milk

70

Beer, Coffee, Diapers

80

Beer, Nuts, Coffee, Diapers, Eggs, Milk

where the minimum support for frequent patterns set at 3, the set of three items frequent itemsets, L3 is:

Group of answer choices

1. L3 = {{Beer, Diapers, Milk}}

2. L3 = {{Diapers, Eggs, Milk}, { Beer, Coffee, Diapers }}

3. L3 = {{Beer, Diapers, Milk}, {Beer, Diapers, Eggs}}

4. L3 = {{Diapers, Eggs, Milk}}

5. L3 = {{Beer, Coffee, Diapers}, {Beer, Diapers, Eggs}}

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

2. L3 = {{Diapers, Eggs, Milk}, { Beer, Coffee, Diapers }}

Diaper, Eggs and Milk appear 3 times, in 30, 60 and 80. Beer, Coffee and Diapers appear 3 times, in 20, 70 and 80. Since both set of three items surpass the minimum support of 3, L3 = {{Diapers, Eggs, Milk}, { Beer, Coffee, Diapers }}

Add a comment
Know the answer?
Add Answer to:
By applying the Apriori algorithm to the dataset in the table below: 10 Beer, Nuts, Diapers...
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
  • Consider the dataset in the table below: 10 Beer, Nuts, Milk 20 Beer, Coffee, Diapers 30...

    Consider the dataset in the table below: 10 Beer, Nuts, Milk 20 Beer, Coffee, Diapers 30 Beer, Diapers, Eggs, Milk 40 Nuts, Eggs, Milk 50 Beer, Coffee, Milk 60 Diapers, Eggs, Milk 70 Beer, Coffee, Diapers, Eggs 80 Beer, Nuts, Coffee, Diapers, Eggs, Milk and the itemsets with minimum support of 3: {Beer, Diapers, Eggs}. Considering a minimum confidence threshold of 75%, which of the following association rules qualify as strong? Group of answer choices (Select all that apply) 1....

  • Given the dataset in the table below: 10 Beer, Nuts, Diapers 20 Beer, Coffee, Diapers 30...

    Given the dataset in the table below: 10 Beer, Nuts, Diapers 20 Beer, Coffee, Diapers 30 Beer, Diapers, Eggs 40 Nuts, Eggs, Milk 50 Beer, Coffee, Milk 60 Diapers, Eggs, Milk 70 Coffee, Diapers, Eggs 80 Beer, Nuts, Coffee, Diapers, Eggs, Milk What is the support and confidence of the rule: Nuts -> Beer? Group of answer choices 1. [support=37.5%, confidence=60%] 2. [support=25%, confidence=40%] 3. [support=37.5%, confidence=75%] 4. [support=25%, confidence=66.66%]

  • 1. Apply the Apriori Algorithm Tasks: Apply the Apriori Algorithm to the following data set: Trans...

    1. Apply the Apriori Algorithm Tasks: Apply the Apriori Algorithm to the following data set: Trans ID Items Purchased 101 milk, bread, eggs 102 milk, juice 103 juice, butter 104 milk, bread, eggs 105 coffee, eggs 106 coffee 107 coffee, juice 108 milk, bread, cookies, eggs 109 cookies, butter 110 milk, bread The set of items is {milk, bread, cookies, eggs, butter, coffee, juice). Use 2 for the minimum support value. You must show all candidate and large itemsets during the process: C., L, C2, L2 etc. until the algorithm terminates.

  • Apply the Apriori algorithm to the following data set: Trans Id Item Purchased 101 milk, bread,...

    Apply the Apriori algorithm to the following data set: Trans Id Item Purchased 101 milk, bread, eggs 102 milk, juice 103 juice, butter 104 milk, bread, eggs 105 coffee, eggs 106 coffee 107 coffee, juice 108 milk, bread, cookies, eggs 109 cookies, butter 110 milk, bread The set of items is {milk, bread, cookies, eggs, butter, coffee, juice}. Use 2 for the minimum support value.

  • This question is for frequent pattern mining algorithm Apriori and closed pattern mining algorithm like CLOSET....

    This question is for frequent pattern mining algorithm Apriori and closed pattern mining algorithm like CLOSET. Implement Apriori algorithm to mine frequent pattern from a transaction dataset Implement an algorithm to mine closed frequent pattern from the same dataset. You can either write a code to extract closed patterns from the result that you got in Part 1 or code CLOSET. Input Format The input dataset is a transaction dataset. The first line of the input corresponds to the minimum...

  • Using the FP growth algorithm generate frequent patterns within the following dataset (use min_sup = 3)....

    Using the FP growth algorithm generate frequent patterns within the following dataset (use min_sup = 3). TID      Itemsets 1          Sausage, Milk, Bread, Yogurt, Beer 2          Milk, Beer, Juice 3          Milk, Bread, Juice 4          Soda, Sausage, Yogurt, Bread 5          Sausage, Milk, Bread, Fruit, Beer 6          Vegetable, Yogurt, Butter, Fruit, Milk 7          Sausage, Vegetable, Butter, Juice 8          Milk, Yogurt, Bread

  • 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...

  • write a detailed summary in an organized format. It must include 3-4 key points of the...

    write a detailed summary in an organized format. It must include 3-4 key points of the controversy. Break up your summary in 3-4 paragraphs. Must include specific reasons as to why a vegetarian diet can be better and or worse than the meat heavy diets? Explain briefly using examples how reading this controversy has helped you in making better dietary choices in future? CONTROVERSY 6 Table of Contents Vegetarian and Meat-Containing Diets: What Are the Benefits and Pitfalls? Notebook LO...

  • Question 1 (40 marks) Refer to Table 1. Write the Excel formula for each cell marked...

    Question 1 (40 marks) Refer to Table 1. Write the Excel formula for each cell marked with "" in column C such that formula could be copied and pasted into columns D, and E using Microsoft Excel without further editing, There is no need to explicitly write the Excel formula for cells marked with "Copy & paste". Label each formula clearly with cell reference position. In many country towns of China, there is no western coffee shop such as Starbucks...

  • Read the attached article and answer the following questions. 1. What is the role of potassium...

    Read the attached article and answer the following questions. 1. What is the role of potassium in blood pressure? 2. Looking back at last weeks Super Tracker report - do you meet the 4700mg daily target for potassium? 3. Do you meet the 400mg daily target for magnesium? 4. Research shows that hypertension and type 2 diabetes can be prevented by dietary choices. List 3 ways that employers, government, doctors, etc. (you can use another group ) can either motivate...

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