79414256

Date: 2025-02-05 09:37:55
Score: 1.5
Natty:
Report link

Add the code num_itemsets=2 to limit the itemset so that the modification becomes

rules = association_rules(frequent_items, metric='confidence',min_threshold=0.7, num_itemsets=2)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rais