Apriori algorithm : Encompasses finding frequent patterns,closed and maximal patterns as well as judging patterns based on a new purity metric