Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 595 Bytes

File metadata and controls

26 lines (13 loc) · 595 Bytes

Assignment-09-Association-Rules-Data-Mining-Groceries-

Converting the data frame into a list of lists

Using Transactionencoder to transform this dataset into a logical data frame

Building the data frame: rows are logical and columns are the items that have been purchased

Print Column names

We need to drop nan column from the data frame

Most popular items

Top 10 Popular items

Barplot visualization of popular items

Apriori Algorithm:

  1. Association rules with 5% Support and 70% confidence
  2. Association rules with 1% Support and 80% confidence

Visualization of obtained rule