Introduction - If you have any usage issues, please Google them yourself
# Python 3 Implementation of Apriori algorithm
This program is based on [Aaron Zira's implementation of Apriori algorithm](https://github.com/aaronzira/apriori) and is adapted for use in other python 3 programs
## Dependencies
This program uses [_demjson.py_](https://github.com/dmeranda/demjson/blob/master/demjson.py) to write matrix into file
* Install with
```bash
pip3 install demjson
```
## Usage
* Initialize and learn frequency using data from file
```python 3
# data: path of data source file
# out: path of output file
AP = apriori.APriori(data='./test_datasets/transactions.dat',
out='./test_datasets/result.txt')
# This function will write Data into output file
AP.find_frequent(support=50, min_set_size=2, max_set_size=3)