Implementation of Machine Learning Algorithms for analysing database of grocery store of Ludhiana district

Authors

  • Navjot Kaur Student, Department of Computer Applications, PCTE Institute of Engineering and Technology, Ludhiana, Punjab, India
  • Sourav Joshi Student, Department of Computer Applications, PCTE Institute of Engineering and Technology, Ludhiana, Punjab, India

Keywords:

Market Basket Analysis, Apriori, Grocery, matplotlib

Abstract

This study focuses on analysing grocery transaction data using Market Basket Analysis (MBA) to uncover purchasing patterns and improve retail strategies. The process begins with the collection of grocery transaction data, followed by the importation of necessary Python libraries such as `pandas`, seaborn`, and `matplotlib` for data manipulation, analysis, and visualisation. Using these libraries, association rules are generated through popular algorithms like Apriori to identify frequently co-purchased items. The results of this analysis are then visualised through graphs, providing clear insights into consumer buying behaviour. The findings are aimed at optimising sales trends over time, sales by item category, payment method usage and supporting targeted marketing strategies in the grocery retail sector. The findings depict the effectiveness of MBA in optimising retail operations and enhancing customer satisfaction, ultimately contributing to more efficient and targeted marketing efforts in the grocery retail sector.

References

.1. Patwary AH, Eshan MT, Debnath P, Sattar A. Market Basket Analysis Approach to Machine Learning. In2021 12th international conference on computing communication and networking technologies (ICCCNT) 2021 Jul 6 (pp. 1-9). IEEE.

Kumar D, Kashyap R, Gayathri N. Market Basket Analysis: Identify the changing trends of market data using association rule mining. Annals of the Romanian Society for Cell Biology. 2021;25(7):51-9.

Gangurde R. Optimized predictive model using artificial neural network for market basket analysis.

Wick MR, Wagner PJ. Using market basket analysis to integrate and motivate topics in discrete structures. ACM SIGCSE Bulletin. 2006 Mar 3;38(1):323-7.

Raeder T, Chawla NV. Market basket analysis with networks. Social network analysis and mining. 2011 Apr;1(2):97-113.

Published

2026-04-27