Association Rule Mining: Apriori Algorithm


A set of items such as Keyboard and Mouse in the previous example is referred to as an itemset. An itemset containing k items is called k-itemset, e.g., {Keyboard, Mouse} is a 2-itemset. Association rule mining is to
Apriori is a classic algorithm for finding all association rules. Apriori algorithm is an influential algorithm for mining frequent itemsets for Boolean association rules.

The Apriori algorithm shown in the figures is complicated. Instead of studying it directly, two of its application examples will be given next to help the understanding.




      Just seen two men walking together wearing matching clothes.    
      I asked them if they were gay and they arrested me.