Guide-linked quiz · Medium Level
Association Rule Mining and Apriori Quiz
Tests support, directional confidence, lift, Apriori pruning, FP-growth, rare-rule stability, and why basket co-occurrence is not causation.
Question 1 of 8
In the guide's invented ten baskets, bread and milk appear together in three. What is support for bread → milk?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- In the guide's invented ten baskets, bread and milk appear together in three. What is support for bread → milk?
- 0.75, or three of four milk baskets
- 0.60, or three of five bread baskets
- 0.30, or three of all ten baskets
- 1.50, the rule's lift
- For bread → milk in that example, what is confidence?
- 3/10 = 0.30
- 3/5 = 0.60
- 3/4 = 0.75
- 5/10 = 0.50
- Milk appears in four of ten baskets and bread → milk has confidence 0.60. What is its lift?
- 0.24, multiplying confidence by milk prevalence
- 0.60, because lift equals confidence
- 0.40, milk's base rate alone
- 1.5, dividing 0.60 by milk's 0.40 base rate
- Why does reversing bread → milk to milk → bread change confidence but not support?
- The joint count changes when item order changes
- Confidence changes its conditioning denominator; joint support counts the same baskets
- Support uses only the left-hand item
- Lift becomes undefined for every reversed rule
- How does Apriori prune candidates when an itemset fails minimum support?
- Every superset of it must become frequent after another scan
- Its subsets are necessarily all infrequent
- No superset containing it can meet that same support threshold
- It can be kept as a high-confidence rule without a consequent
- A rule has high confidence because milk appears in nearly every basket. What else should be checked?
- Whether the arrow proves bread causes milk purchases
- Only the visual color of the rule chart
- Whether confidence equals support by definition
- Lift against milk's overall base rate and whether the pattern is stable
- How does FP-growth differ from Apriori in the guide's account?
- It compresses transactions in a tree and avoids the same explicit candidate expansion
- It calculates no frequent itemsets
- It requires support to increase when an item is added
- It treats every transaction as a causal experiment
- What conclusion is unsupported by a strong bread → milk rule from one store?
- Buying bread causes a customer to buy milk in other stores
- The rule's support and confidence can be calculated for that dataset
- The two items co-occurred in that store's recorded baskets
- The pattern should be checked on later transactions
Keep testing yourself
More quizzes picked for your level.