Class Bases Apriori Algorithm