Menu

Home

kakskulkarni

Apriori Algorithm: http://www.codeproject.com/KB/recipes/AprioriAlgorithm.aspx

Input data http://fimi.cs.helsinki.fi/data/retail.dat.gz

Steps to Run:
1. javac -cp /hadoop-0.20.2-core.jar:/log4j/apache-log4j-1.2.16/log4j-1.2.16.jar:/hbase/hbase-0.20.6.jar -d bin src/apriori.java
2. jar -cvf apriori.jar -C bin .
3. /bin/hadoop jar ../apriori.jar apriori /in /out2 /out2c /out2a

Display Output:
/bin/hadoop fs -ls /

Note:
Running the final code with log4j causes performance hit. Disable log4j in the final run


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.