Implementation of Machine Learning Algorithms for analysing database of grocery store of Ludhiana district
Keywords:
Market Basket Analysis, Apriori, Grocery, matplotlibAbstract
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
Issue
Section
Copyright (c) 2026 Journal of Advanced Research in Modeling and Simulation

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
We, the undersigned, give an undertaking to the following effect with regard to our article entitled
“_______________________________________________________________________________________________________________________________________________________________________________
________________________________________________________________________________” submitted for publication in (Journal title)________________________________________________ _______________________________________________________Vol.________, Year _________:-
1. The article mentioned above has not been published or submitted to or accepted for publication in any form, in any other journal.
2. We also vouchsafe that the authorship of this article will not be contested by anyone whose name(s) is/are not listed by us here.
3. I/We declare that I/We contributed significantly towards the research study i.e., (a) conception, design and/or analysis and interpretation of data and to (b) drafting the article or revising it critically for important intellectual content and on (c) final approval of the version to be published.
4. I/We hereby acknowledge ADRs conflict of interest policy requirement to scrupulously avoid direct and indirect conflicts of interest and, accordingly, hereby agree to promptly inform the editor or editor's designee of any business, commercial, or other proprietary support, relationships, or interests that I/We may have which relate directly or indirectly to the subject of the work.
5. I/We also agree to the authorship of the article in the following sequence:-
Authors' Names (in sequence) Signature of Authors
1. _____________________________________ _____________________________________
2. _____________________________________ _____________________________________
3. _____________________________________ _____________________________________
4. _____________________________________ _____________________________________
5. _____________________________________ _____________________________________
6. _____________________________________ _____________________________________
7. _____________________________________ _____________________________________
8. _____________________________________ _____________________________________
Important
(I). All the authors are required to sign independently in this form in the sequence given above. In case an author has left the institution/ country and whose whereabouts are not known, the senior author may sign on his/ her behalf taking the responsibility.
(ii). No addition/ deletion/ or any change in the sequence of the authorship will be permissible at a later stage, without valid reasons and permission of the Editor.
(iii). If the authorship is contested at any stage, the article will be either returned or will not be
processed for publication till the issue is solved.