What is support in market basket analysis?

Quick Overview

Asks for the definition of support in market basket analysis and how it is used to mine frequent itemsets and association rules. Tests the support formula, the anti-monotone property behind Apriori pruning, threshold trade-offs, and why support has to be paired with confidence and lift.

What is support in market basket analysis?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

Market basket analysis mines transaction data, where each transaction is the set of items bought together, for frequent itemsets and association rules such as $\{\text{bread}\} \to \{\text{milk}\}$. What is support in market basket analysis? ```hint Count across baskets Think about what you would count across all baskets for a given set of items, and what happens to that count when you add one more item to the set. ``` ### What a Strong Answer Covers - The definition of support for an itemset and for a rule, with a small numeric example. - How a minimum support threshold is used to decide which itemsets are frequent. - The property of support that lets algorithms such as Apriori prune candidates, and why it holds. - What goes wrong when the threshold is set too high or too low. - Why support alone cannot tell you how strongly two items are associated. ### Follow-up Questions - How are confidence and lift defined? Give a case where a rule has high confidence but lift below 1. - Your store has 10,000 products and 50 million baskets. How would you choose a minimum support threshold? - How would you find associations involving rare but expensive items that never reach the global support threshold? - How does FP-Growth avoid the candidate generation step that Apriori relies on?

Overview: Asks for the definition of support in market basket analysis and how it is used to mine frequent itemsets and association rules. Tests the support formula, the anti-monotone property behind Apriori pruning, threshold trade-offs, and why support has to be paired with confidence and lift.

General logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

Market basket analysis mines transaction data, where each transaction is the set of items bought together, for frequent itemsets and association rules such as {bread}→{milk}\{\text{bread}\} \to \{\text{milk}\}.

What is support in market basket analysis?

What a Strong Answer Covers Guidance

  • The definition of support for an itemset and for a rule, with a small numeric example.
  • How a minimum support threshold is used to decide which itemsets are frequent.
  • The property of support that lets algorithms such as Apriori prune candidates, and why it holds.
  • What goes wrong when the threshold is set too high or too low.
  • Why support alone cannot tell you how strongly two items are associated.

Follow-up Questions Guidance

  • How are confidence and lift defined? Give a case where a rule has high confidence but lift below 1.
  • Your store has 10,000 products and 50 million baskets. How would you choose a minimum support threshold?
  • How would you find associations involving rare but expensive items that never reach the global support threshold?
  • How does FP-Growth avoid the candidate generation step that Apriori relies on?