This is a demo repo demonstrating how to perform Market Basket Analysis (MBA) with a Retail (Grocery Store) sample. I based on the classic grocery dataset from Kaggle to further enhance and develop the sample dataset for advanced MBA in multiple dimensions and aspects.
Content:
- data/groceries_dataset_sample_v1.xlsx <-- Version 1 of the grocery sample dataset with 1,920 records (716 unique Transaction/Invoice IDs, 194 unique Customer IDs).
- frequently_bought_together_v1.ipynb <-- Sample of frequently bought together by applying the Apriori algorithm in Association Rule Learning with version 1 sample data.
Enjoy!