Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 16, 2020 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/da384a293cfa13daaef14b31e0bd9038 to your computer and use it in GitHub Desktop.
Save amankharwal/da384a293cfa13daaef14b31e0bd9038 to your computer and use it in GitHub Desktop.
rules = apriori(transactions, min_support = 0.00030, min_confidence = 0.05, min_lift = 3, max_length = 2, target = "rules")
association_results = list(rules)
print(association_results[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment