EXPLORATORY ANALYSIS WITH ASSOCIATION RULE MINING ALGORITHMS IN THE RETAIL INDUSTRY
DOI:
https://doi.org/10.24191/mjoc.v9i1.21433Keywords:
Association Rule, Apriori, Data Mining, FP-Growth, and Market Basket AnalysisAbstract
Every year the retail sector expands quickly. These industries are becoming more competitive and difficult to operate in due to their expansion. Changing consumer buying habits, a decline in people's spending capacity and an increase in international retailers are a few of the difficulties that must be overcome. In the context of mining frequent item sets, many methods have been proposed to push various kinds of limitations inside the most well-known algorithms. This study presents an exploratory analysis for retail stores that uses market basket analysis as one of the data mining techniques to identify frequent patterns in customer purchases. The proposed method is based on comparing two algorithms: Apriori and Frequent Pattern Growth (FP- Growth). The study used a retail store dataset consisting of 522,064 rows and 7 variables. Data pre-processing was performed to clean and encode the data to be used in the model. The dataset limitation involves 25% null values in the ID column. To address this, missing customer IDs are filled with the last valid ID, assuming repeated purchases. The FP-Growth algorithm was found to be faster and more effective than the Apriori algorithm in extracting frequent item sets and generating association rules. The retail industry based on these frequent item sets is expected to increase sales by recommending highly associated items to customers.
References
Aldino, A. A., Pratiwi, E. D., Setiawansyah, Sintaro, S., & Putra, A. D. (2021). Comparison of Market Basket Analysis to Determine Consumer Purchasing Patterns Using FpGrowth and Apriori Algorithm. 2021 International Conference on Computer Science,Information Technology, and Electrical Engineering, ICOMITEE 2021, 29–34. https://doi.org/10.1109/ICOMITEE53461.2021.9650317
Christian, M. A., Nathanael, N., Mauliani, A., Indrawati, A., Manik, L. P., & Akbar, Z. (2021). Real Market Basket Analysis using Apriori and Frequent Pattern Tree Algorithm. ACM International Conference Proceeding Series, 161–165. https://doi.org/10.1145/3489088.3489133
Dubey, S. K., Mittal, S., Chattani, S., & Shukla, V. K. (2021). Comparative Analysis of Market Basket Analysis through Data Mining Techniques. Proceedings of 2nd IEEE International Conference on Computational Intelligence and Knowledge Economy, ICCIKE 2021, 239–243. https://doi.org/10.1109/ICCIKE51210.2021.9410737
Goel, M., & Goel, K. (2017). FP-growth implementation using tries for association rule mining. Advances in Intelligent Systems and Computing, 547, 21–29. https://doi.org/10.1007/978-981-10-3325-4_3
Hidayat, A. A., Rahman, A., Wangi, R. M., Abidin, R. J., Fuadi, R. S., & Budiawan, W. (2019). Implementation and comparison analysis of apriori and fp-growth algorithm performance to determine market basket analysis in Breiliant shop. Journal of Physics: Conference Series, 1402(7). https://doi.org/10.1088/1742-6596/1402/7/077031
Izang, A. A., Goga, N., Kuyoro, S. O., Alao, O. D., Omotunde, A. A., & Adio, A. K. (2019). Scalable Data Analytics Market Basket Model for Transactional Data Streams. InIJACSA) International Journal of AdvancedComputer Science and Applications (Vol. 10, Issue 10). www.ijacsa.thesai.org
Jirapatsil, P., & Phumchusri, N. (2022). Market Basket Analysis for Fresh Products location improvement: A case study of E-Commerce Business Warehouse. ACM International Conference Proceeding Series, 23–28. https://doi.org/10.1145/3535782.3535786
Joshi, K., Rathod, D., Parekh, M., & Dave, J. (2022). Customer Behavioral Market Basket Approach for Most Frequent PatternIdentification Using Data Mining Techniques. Smart Innovation, Systems and Technologies, 248, 663–670. https://doi.org/10.1007/978-981-16-4177-0_66
Khedkar, S. S., & Kumari, S. (2021). Market Basket Analysis using A-Priori Algorithm and FP-Tree Algorithm. Proceedings - 2021 1st IEEE International Conference onArtificial Intelligence and Machine Vision, AIMV 2021. https://doi.org/10.1109/AIMV53313.2021.9670981
Kurnia, Y., Isharianto, Y., Giap, Y. C., Hermawan, A., & Riki. (2019). Study of application ofdata mining market basket analysis for knowing sales pattern (association of items) at the O! Fish restaurant using apriori algorithm. Journal of Physics: Conference Series, 1175(1). https://doi.org/10.1088/1742-6596/1175/1/012047
Linwei, L., Yiping, W., Yepiao, H., Bo, L., Fasheng, M., & Ziqiang, D. (2023). Optimized Apriori algorithm for deformation response analysis of landslide hazards. Computers & Geosciences, 170, 105261. https://doi.org/10.1016/j.cageo.2022.105261
Listiawan, T., & Hudha, M. N. (2021). Design and implementation software for mining association rules (market basket analysis) to design product layout desicions. Journal of Physics: Conference Series, 1869(1). https://doi.org/10.1088/1742-6596/1869/1/012121
Mechery, S., & Preethi, N. (2022). An Intelligent Recommendation System Using Market Segmentation. Smart Innovation, Systems and Technologies, 303 SIST, 468–476. https://doi.org/10.1007/978-981-19-2719-5_44
Pradana, M. R., Syafrullah, M., Irawan, H.,Chandra, J. C., & Solichin, A. (2022). MarketBasket Analysis Using FP-Growth Algorithm on Retail Sales Data. International Conference on Electrical Engineering, Computer Science and Informatics (EECSI), 2022-October, 86–89. https://doi.org/10.23919/EECSI56542.2022.9946478
Qisman, M., Rosadi, R., & Abdullah, A. S. (2021).Market basket analysis using apriori algorithm to find consumer patterns in buying goods through transaction data (case study of Mizan computer retail stores). Journal of Physics: Conference Series, 1722(1). https://doi.org/10.1088/1742-6596/1722/1/012020
Robert C. Blattberg, B.-D. K. and S. A. N. (n.d.). Blattberg, R. C., Kim, B.-D., & Neslin, S. A. (2008). Database marketing. International Series in Quantitative Marketing. https://doi.org/10.1007/978-0-387-72579-6
Samboteng, L., Rulinawaty, Kasmad, M. R., Basit, M., & Rahim, R. (2022). MARKET BASKET ANALYSIS OF ADMINISTRATIVE PATTERNS DATA OF CONSUMER PURCHASES USING DATA MINING TECHNOLOGY. Journal of Applied Engineering Science, 20(2), 339–345. https://doi.org/10.5937/jaes0-32019
Shahidan, S., Ooi, S. P. & Khaw, K. W. (2023). Prediction of employee promotion using hybrid sampling method with machine learning architecture. Malaysian Journal of Computing, 8(1), 1264-1286. https://doi.org/10.24191/mjoc.v8i
Ünvan, Y. A. (2021). Market basket analysis with association rules. Communications in Statistics - Theory and Methods, 50(7), 1615-1628. https://doi.org/10.1080/03610926.2020.1716255
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Alaa Amin Hashad, Khaw Khai Wah, Alhamzah Alnoor, XinYing Chew

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.




