0% found this document useful (0 votes)
6 views7 pages

Association Rule Mining

Association Rule Mining identifies relationships between items in large datasets, exemplified by Market Basket Analysis. Key metrics include Support, Confidence, and Lift, which quantify the strength of these relationships. In the example provided, the rule 'Diaper → Beer' shows a positive correlation with a Support of 60%, Confidence of 75%, and Lift of 1.25.

Uploaded by

karnrpratyush07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views7 pages

Association Rule Mining

Association Rule Mining identifies relationships between items in large datasets, exemplified by Market Basket Analysis. Key metrics include Support, Confidence, and Lift, which quantify the strength of these relationships. In the example provided, the rule 'Diaper → Beer' shows a positive correlation with a Support of 60%, Confidence of 75%, and Lift of 1.25.

Uploaded by

karnrpratyush07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Association Rule Mining:

Support, Confidence & Lift


A simple example to understand key
concepts
What is Association Rule Mining?
• Association Rule Mining is used to find
relationships between items in large datasets.
• Example: Market Basket Analysis – Finding
products frequently bought together.
Dataset (Transactions)
Transactions:
1: Bread, Milk
2: Bread, Diaper, Beer, Eggs
3: Milk, Diaper, Beer, Coke
4: Bread, Milk, Diaper, Beer
5: Bread, Milk, Diaper, Coke
Step 1: Calculate Support
• Support(Diaper → Beer) = Transactions
containing both / Total Transactions
• = 3/5 = 0.6 (60%)
Step 2: Calculate Confidence
• Confidence(Diaper → Beer) = Support(Diaper
& Beer) / Support(Diaper)
• = 3/4 = 0.75 (75%)
Step 3: Calculate Lift
• Lift(Diaper → Beer) = Confidence(Diaper →
Beer) / Support(Beer)
• = 0.75 / 0.6 = 1.25
• Interpretation:
• - Lift > 1: Positive correlation (likely to be
bought together)
• - Lift = 1: No correlation
• - Lift < 1: Negative correlation
Final Summary
Rule: Diaper → Beer
Support: 0.6 (60%)
Confidence: 0.75 (75%)
Lift: 1.25
Conclusion: Customers buying Diapers are more likely to buy Beer.

You might also like