BIBA - Association Rules - Quizzes
3 important questions on BIBA - Association Rules - Quizzes
- What is the support for the following rules?
- a) IF Red THEN White
- b) IF White THEN Red
- c) If White and Red THEN Green
- a) IF Red THEN White
- b) IF White THEN Red
- c) If White and Red THEN Green
- a) Support for itemset {red, white} is 4, or as percentage 4 out of 10 transactions, i.e., 40%
- b) Support for itemset {white, red} is 4, or as percentage 4 out of 10 transactions, i.e., 40%
- for itemsetc) Support for itemset {white, red, green} is 2, or as percentage 2 out of 10 transactions, i.e., 20% for itemset
{white, red, green} {red, white} is
- Example:
- Supermarket with 100.000 transactions
- 2.000 include both orange juice and flu medication
- 800 from the above include soup purchases
- IF orange juice and flu medication are purchased THEN soup
- Calculate the support and confidence measure
- Supermarket with 100.000 transactions
- 2.000 include both orange juice and flu medication
- 800 from the above include soup purchases
- IF orange juice and flu medication are purchased THEN soup
- Support = 800 transactions (or 800/100.000 = 0.8%)
- Confidence = 800 / 2.000 = 40%
Quiz AR.2
- Consider the above transactions and rule IF Red & Green THEN White. Compute:
- a) Support
- b) Confidence
- c) Lift
- a) Support
- b) Confidence
- c) Lift
b) Confidence, co-occurrence / no of
b) Confidence, co-occurrence / no of
antecedent --> 2 / 2 = 1
c) Lift, confidence / (no consequent / no
transactions) = 1 / 7 / 10 = 1.428transactions) = 1 / 7 / 10 = 1.428
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding