Unit 5: Case Studies

Syllabus
Case 1
E-Commerce Recommendations

Amazon "Frequently Bought Together"

Amazon's "Frequently Bought Together" feature is one of the most successful applications of association rule mining. When a customer views a product, Amazon suggests a bundle of items that are statistically likely to be purchased together. The system analyzes billions of purchase transactions to discover association rules in real time.

Focus Question:

Why does Amazon combine association rules with collaborative filtering instead of using association rules alone? A. Association rules are too slow | B. Association rules don't capture individual user preferences — collaborative filtering personalizes the results | C. Collaborative filtering is more accurate | D. Association rules cannot handle large datasets
Tip: Association rules discover global patterns ("laptops and cases are bought together"). Collaborative filtering personalizes ("users like YOU also bought X"). Combining both yields the best results — global patterns provide a baseline, personalization refines it.
Case 2
Music Streaming Recommendations

Spotify Music Recommendations

Spotify's recommendation system combines audio feature analysis with association rule mining to power its "Discover Weekly," "Release Radar," and "Daily Mix" features. The system analyzes both audio characteristics and user listening patterns to generate highly personalized playlists.

Focus Question:

What is the advantage of using Lift rather than Confidence when mining music listening patterns? A. Lift is faster to compute | B. Lift accounts for the baseline popularity of an artist — prevents recommending universally popular artists that aren't truly correlated with the user's taste | C. Lift requires fewer database scans | D. Lift works better with small datasets
Tip: High confidence on {User listens to Artist A} → {User listens to Artist B} might simply mean Artist B is very popular (high support). Lift corrects for this — it only gives a high score if Artist B's co-occurrence with Artist A is significantly higher than its baseline popularity.
Case 3
Retail Basket Optimization

Retail Cross-Selling (Apriori at Scale)

A major retail chain with 2,400 stores implemented Apriori-based association rule mining on 10 million anonymized transactions to optimize product placement, cross-selling, and promotional campaigns. The goal was to increase average basket size and discover non-obvious product affinities.

Focus Question:

Why was the minimum support threshold set so low (0.05%) for a 10M transaction dataset? A. To ensure all rules have high confidence | B. Because with 120,000 SKUs, even 0.05% represents 5,000 transactions — enough for statistical significance while capturing niche but profitable associations | C. Low support makes Apriori faster | D. It's the default value
Tip: The support threshold should be adjusted based on dataset size and domain. In a 10M transaction dataset, 0.05% = 5,000 transactions — statistically significant. Setting it too high (e.g., 1%) would miss profitable niche associations like craft beer + artisan cheese that have high lift despite moderate support.
Theory Activity