Data-Mining-Homework

12/15 Updated

Project 1 Reference Code (Apriori)

  • Please find the code in examples/apriori.
  • How to run the script:
    • Make directory inputs at the same level as main.py.
    • Put your dataset in inputs directory.
    • Run the command, for example: python3 main.py --min_sup 0.2 --min_conf 0.2 --dataset ibm-5000.txt Change the --dataset args to your input file name.
    • Find the output files at outputs dir (will be created if not exists).