fp-growth
fp-growth copied to clipboard
Python implementation of the Frequent Pattern Growth algorithm
patterns = fpg.find_frequent_patterns(transactions, 399) print "patterns:",patterns rule = fpg.generate_association_rules(patterns,0.23) print "rule:",rule patterns: {(11623791,): 718, (1200977055, 1201023876, 1201116375, 1201268126, 1201562424): 805, (1201207701,): 2217, (1201451040,): 445, (1201345366,): 1844, (1201294590,): 3846, (1200745609,): 1229,...
In your library, you just show confidence value each rules, but i thing it's usefull when you show support too
in doc, you write `patterns = pyfpgrowth.find_frequent_patterns(transactions, 2)` , 2 is minium support right ? in my knowledge, FP-growth has minimum support and minimum confidence in % , my question...
Bumps [wheel](https://github.com/pypa/wheel) from 0.23.0 to 0.38.1. Changelog Sourced from wheel's changelog. Release Notes UNRELEASED Updated vendored packaging to 22.0 0.38.4 (2022-11-09) Fixed PKG-INFO conversion in bdist_wheel mangling UTF-8 header values...
https://github.com/evandempsey/fp-growth/blob/6bf4503024e86c5bbea8a05560594f2f7f061c15/pyfpgrowth/pyfpgrowth.py#L202