What would you like to share?
Hi,
I noticed the following code in apriori_algorithm.py:
ifitemnotinitemsetoritemset.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
What would you like to share?
Hi,
I noticed the following code in apriori_algorithm.py:
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