Classical association rule minning algorithm
Three main args:
- support
- confidence
- lift
Default value:
-
minSupport 0.01
-
minConfidence 0.7
-
minLift 1.0
python apriori.py -f ***.csv -s 0.2 -c 0.8 -l 1.2
- .csv file
- item code (column names)
- binary value
- python 3.6.5
- pandas
- collections
- itertools
https://blog.csdn.net/baimafujinji/article/details/53456931