#Association Rule Mining in Python
File Description:
- apriori.py : Python implementation of the apriori algorithm. This code reads a transactional database file specified by the user and based on user's specified support and confidence values, frequent itemsets and association rules are generated.
- DataSetx.txt : (x: 1,2,3,4,5) Five different dataset files containing transactions.
Usage:
- Modify line #14 of apriori.py and specify the name of dataset file to use.
- Run the program from the command line: python apriori.py
- When prompted, provide support and confidence values in percentage
- Frequent itemsets and association rules are generated