Re: Questions about Apriori Algorithm
Date: November 15, 2014 05:13AM
Hi,
1) You should learn the basic Java language, how to read/write files, how to do a distributed Java program, and in particular if you want to implement Apriori efficiently, I would recommend to learn to use the data structures provided in Java such as ArrayList, HashMap, etc.
By the way Apriori is a slow algorithm. Faster algorithms have been proposed for the same task. But APriori is easy to implement.
If you want to see my Apriori implementation, you may look at the SPMF source code.
2) Interesting. But you should be aware that some work has been done on choosing automatically minsup and minconf thresholds. For example, you may look for Predictive Apriori, or algorithms for top-k pattern mining.