A Apriori algorithm