a data mining algorithm for frequent pattern analysis