run bellow command for installing all packages
pip install -r requirements.txt
Put csv data under this directory "infrastructure/data_sources/datasets"
.
There are also 4 template under this directory which you can use to test the algorithm.
After installing all package dependencies, just run the main.py
file in the root directory. After running main.py
, you must give the name of dataset which is under "infrastructure/data_sources/datasets"
directory and also give supportMin
as int number.
You can see generated frequent k-itemsets in .txt file with {datasetName}.txt
.