fp-growth icon indicating copy to clipboard operation
fp-growth copied to clipboard

Missing patterns resolved.

Open bluewhale333 opened this issue 5 years ago • 0 comments

In fpgrowth.find_frequent_patterns function failed to get all patterns. So, changes in this code will get expected output. eg: In below example, transactions = [[1, 2, 5], [2, 4], [2, 3], [1, 2, 4], [1, 4], [2, 3], [1, 3], [1, 2, 3, 5], [1, 2, 3]] (4,):3 should be present in patterns, but it doesn't, my changes will give exact output.

bluewhale333 avatar Dec 11 '19 07:12 bluewhale333