/apriori-frequent-itemset

Implementation of Apriori Algorithm for Mining Frequent Itemsets and comparison with FP-growth implementation at different support thresholds

Primary LanguageC++

apriori-frequent-itemset

Implementation of Apriori Algorithm for Mining Frequent Itemsets and comparison with FP-growth implementation at different support thresholds

Running My Apriori Implementation: sh 2014CS50281.sh datasetName SupportPercentage
Eg. sh 2014CS50281.sh retail.dat 100

DataSet Format:

transaction1
transaction2
transaction3
transaction4
.
.
.
.
transactionN

FpGrowth Executable is taken from http://www.borgelt.net/fpgrowth.html (Linux 64 bit version) , Its usage can be found on http://www.borgelt.net/doc/fpgrowth/fpgrowth.html

Example:- ./fpgrowth -s20 retail.dat fpOut.txt

Dataset used for testing: http://fimi.ua.ac.be/data/retail.dat

Dataset Info: http://fimi.ua.ac.be/data/retail.pdf