The Apriori Algorithm