My implementation of FpGrowth algorithm in python. I did it my way
Implementation is given below:
python ffpgrowth.py –file filename –s minsup –c mincon
python ffpgrowth.py -h ---- will show you other parameters that u may change, such as the name of the output file