Question

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. Eggs -> {Diapers, Beer}

2. Diapers -> {Eggs, Beer}

3. Beer -> { Diapers, Eggs}

4. {Diapers, Beer} -> Eggs

5. {Eggs, Beer} -> Diapers

6. Diapers, Eggs} -> Beer

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

SOLUTION :- Strong association rules must satisfy both minimum support and minimum confidence threshold.

CORRECT ANSWER :

Therefore, the only Association Rules that satisfy both the restriction of having minimum support >= 3 and confidence >= 0.75 are :

(4) {Diapers, Beer} -> Eggs

(5) {Eggs, Beer} -> Diapers

(6) {Diapers, Eggs} -> Beer

EXPLANATION :- The Options (4), (5), and (6) are qualified strong association rules. On the other hand, Options (1), (2) and (3) are not qualified. The anslysis is given below :-

(1) Eggs -> {Diapers, Beer}
where {Eggs} is X and {Diapers, Beer} is Y.
Support = {itemset (X and Y)}/transactions
= 3 / 8 =
0.375 [ Satisfy ]
Confidence = {itemset (X and Y)}/{itemset (X)}
= 3 / 5 =
0.6 [ Not Satisfy ]

But as a whole, it will Not Satisfy.

(2) Diapers -> {Eggs, Beer}
where {Diapers} is X and {Eggs, Beer} is Y.
Support = {itemset (X and Y)}/transactions
= 3 / 8 =
0.375 [ Satisfy ]
Confidence = {itemset (X and Y)}/{itemset (X)}
= 3 / 5 =
0.6 [ Not Satisfy ]

But as a whole, it will Not Satisfy.

(3) Beer -> { Diapers, Eggs}
where {Beer} is X and {Diapers, Eggs} is Y.
Support = {itemset (X and Y)}/transactions
= 3 / 8 =
0.375 [ Satisfy ]
Confidence = {itemset (X and Y)}/{itemset (X)}
= 3 / 6 =
0.5 [ Not Satisfy ]

But as a whole, it will Not Satisfy.

(4) {Diapers, Beer} -> Eggs
where {Diapers, Beer} is X and {Eggs} is Y.
Support = {itemset (X and Y)}/transactions
= 3 / 8 =
0.375 [ Satisfy ]
Confidence = {itemset (X and Y)}/{itemset (X)}
= 3 / 4 =
0.75 [ Satisfy ]
Now, as a whole, it will Satisfy and will be considered as strong association rule.

(5) {Eggs, Beer} -> Diapers
where {Eggs, Beer} is X and {Diapers} is Y.
Support = {itemset (X and Y)}/transactions
= 3 / 8 =
0.375 [ Satisfy ]
Confidence = {itemset (X and Y)}/{itemset (X)}
= 3 / 3 =
1 [ Satisfy ]

Now, as a whole, it will Satisfy and will be considered as strong association rule.

(6) {Diapers, Eggs} -> Beer
where {Diapers, Eggs} is X and {Beer} is Y.
Support = {itemset (X and Y)}/transactions
= 3 / 8 =
0.375 [ Satisfy ]
Confidence = {itemset (X and Y)}/{itemset (X)}
= 3 / 4 =
0.75 [ Satisfy ]

Now, as a whole, it will Satisfy and will be considered as strong association rule.

==============================================================================

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

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

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

  • 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