Apriori Algorithm

A classic algorithm for mining frequent itemsets and generating association rules from transactional databases using the downward-closure (anti-monotonicity) property.

Method

Level-wise search: candidates of size k are generated from frequent itemsets of size k−1; database is scanned to count support; itemsets below minimum support are pruned. Association rules are generated from frequent itemsets using minimum confidence.

Applications

Retail market-basket analysis ('beer and diapers'), web usage mining, bioinformatics (gene associations), intrusion detection patterns, recommendation rule generation.

Advantages

Simple, complete, well-understood; downward closure enables pruning; foundational for association rule mining.

Limitations

Multiple database scans; candidate generation can be explosive for low support thresholds; struggles with dense or long-itemset data; finds all frequent itemsets (which may be too many). Frequent-itemset support pruning precedes confidence-based association-rule generation. Association alone does not establish causation.

Alternatives

FP-Growth (pattern growth without candidate generation), Eclat, parallel and distributed frequent itemset miners, modern pattern mining libraries.

Editorial clarification

Frequent-itemset support pruning precedes confidence-based association-rule generation. Association alone does not establish causation.

Sources

Educational reference only, not professional advice.

All algorithms