Main Concept
Association Rule Learning is an Unsupervised Learning technique used to discover relationships between variables in large datasets β specifically, which items or events tend to occur together.
βCustomers who buy bread are very likely to also buy butter.β
How It Works
- Analyze transaction records to find co-occurrence patterns
- Identify rules of the form: if X β then Y
- Rank rules by frequency and confidence
- Use those rules to make decisions (product placement, promotions, recommendations)
Technique: Apriori algorithm
Example β Market Basket Analysis
Scenario: A supermarket wants to understand which products are frequently bought together.
Data: Transaction records from customer purchases.
Goal: Identify associations between products to optimize product placement and promotions.
| Rule | Insight |
|---|---|
| bread β butter | Customers who buy bread very likely also buy butter |
| beer β chips | Often purchased together on weekends |
| baby wipes β baby shampoo | Co-purchased by new parents |
Outcome: The supermarket places associated products next to each other on shelves and runs bundled promotions β boosting sales.

Use Cases
- Retail β product placement and bundled promotions (Market Basket Analysis)
- E-commerce β βCustomers who bought X also bought Yβ recommendations
- Healthcare β identifying symptoms or conditions that frequently co-occur
- Streaming β pairing content that users tend to watch together
Key Aspects
- Focuses on co-occurrence, not causality β bread doesnβt cause someone to buy butter, they just tend to happen together
- Works on unlabeled transaction data β no need to pre-define groups or outcomes
- Outputs are human-interpretable rules, making results easy to act on
Related Concepts
Exam Domain (AIF-C01)
Domain 1 β Fundamentals of AI and ML
- Task Statement 1.1: Basic AI/ML concepts β association rule learning is one of the core unsupervised learning techniques.
Links
References