Apriori
Apriori copied to clipboard
Wrong output
Your program gives incorrect output. I tried example 2 from http://en.wikipedia.org/wiki/Apriori_algorithm. It displays only 2 rules and all the rules it prints show 1.0 confidence, however it is not so by manual inspection.