-
-
Notifications
You must be signed in to change notification settings - Fork 47.7k
Open
@phanngoctuan1990
Description
What would you like to share?
Hi,
I noticed the following code in apriori_algorithm.py:
if item not in itemset or itemset.count(item) < length - 1:
From my testing with standard datasets (where each item appears at most once in an itemset), the block or itemset.count(item) < length - 1 never seems to be triggered. Is this condition necessary, or could it be removed for cleaner code?
Thank you!
Additional information
No response