Exploring Customer Purchasing Patterns: A Study Utilizing FP-Growth Algorithm on Supermarket Transaction Data

Keywords: Customer Purchasing Patterns, Exploring Customer Purchasing, FP-Growth Algorithm, Supermarket Transaction Data


The need to analyze consumer purchasing patterns using association techniques also lies in the increasingly fierce competition in the retail market. Supermarkets face the challenge of understanding their customers' buying patterns. By utilizing association techniques, supermarkets can identify customer buying trends and quickly and appropriately adjust their strategies. Thus, analyzing consumer purchasing patterns using association techniques is no longer an option but an urgent need for supermarkets that want to survive and thrive in a changing market. Therefore, this study aimed to analyze purchasing patterns in supermarkets using the FP-Growth method to understand purchasing behavior and identify relevant patterns from transaction data. The method used in this research was the FP-Growth association method to create association rules from customer transaction data. The findings of this research were the use of the FP-Growth method in analyzing supermarket customer purchasing patterns, which obtained 10 association rules for 2 itemsets and 11 association rules for 3 itemsets based on a minimum Support value of 30% and a minimum Confidence of 70%. The association rules generated by the FP-Growth method on 2 itemsets and 3 itemsets simultaneously bring up items often purchased by customers with the same pattern, namely Cooking Oil, Eggs, Flour, and Candy. This research concludes that the association rules formed can be used as a benchmark by supermarkets in preparing stock items and making strategies to increase sales for more profit.


T. Kalashnikova, A. Panchuk, L. Bezuhla, Y. Vladyka, and A. Kalaschnikov, “Global trends in the behavior of consumers of retail enterprises in the digital economy,” IOP Conf. Ser. Earth Environ. Sci., vol. 1150, no. 1, pp. 1–7, 2023, doi: 10.1088/1755-1315/1150/1/012023.

M. Goić, C. Levenier, and R. Montoya, “Drivers of customer satisfaction in the grocery retail industry: A longitudinal analysis across store formats,” J. Retail. Consum. Serv., vol. 60, no. September, pp. 1–17, 2021, doi: 10.1016/j.jretconser.2021.102505.

K. N. Lemon and P. C. Verhoef, “Understanding Customer Experience Throughout the Customer Journey,” J. Mark., vol. 80, no. 6, pp. 69–96, Nov. 2016, doi: 10.1509/jm.15.0420.

P. Shukla, J. Singh, and W. Wang, “The influence of creative packaging design on customer motivation to process and purchase decisions,” J. Bus. Res., vol. 147, no. August, pp. 338–347, Aug. 2022, doi: 10.1016/j.jbusres.2022.04.026.

E. H. Gündeş, F. Ülengin, B. Ülengin, and Ö. Zeybek, “Changes in shopping habits during COVID-19,” SN Bus. Econ., vol. 3, no. 3, pp. 1–24, Feb. 2023, doi: 10.1007/s43546-023-00453-0.

E. Timotius and R. D. W. Putra, “Store Layout and Purchase Intention: Unraveling a Complex Nexus on Indonesian Minimarket,” Mix J. Ilm. Manaj., vol. 13, no. 1, pp. 190–207, Feb. 2023, doi: 10.22441/jurnal_mix.2023.v13i1.013.

T. Ahmad, D. Lael, and D. A. Pramudito, “Use of Data Mining for The Analysis of Consumer Purchase Patterns with The Fpgrowth Algorithm on Motor Spare Part Sales Transactions Data,” IAIC Trans. Sustain. Digit. Innov., vol. 4, no. 2, pp. 128–136, 2023.

T. Pitka et al., “Time analysis of online consumer behavior by decision trees, GUHA association rules, and formal concept analysis,” J. Mark. Anal., no. January, pp. 1–24, 2024, doi: 10.1057/s41270-023-00274-y.

K. Nguyen, M. Le, B. Martin, I. Cil, and C. Fookes, “When AI meets store layout design: a review,” Artif. Intell. Rev., vol. 55, no. 7, pp. 5707–5729, 2022, doi: 10.1007/s10462-022-10142-3.

Y.-J. Park, “Understanding Customer Preferences of Delivery Services for Online Grocery Retailing in South Korea,” Sustainability, vol. 15, no. 5, pp. 1–22, Mar. 2023, doi: 10.3390/su15054650.

N. T. S. Saptadi, Phie Chyan, and Eremias Mathias Leda, “Analysis of Supermarket Product Purchase Transactions With the Association Data Mining Method,” J. RESTI (Rekayasa Sist. dan Teknol. Informasi), vol. 7, no. 3, pp. 618–627, Jun. 2023, doi: 10.29207/resti.v7i3.4844.

S. Vaishampayan, G. Singh, V. Hebasur, and R. Kute, “Market Basket Analysis Recommender System using Apriori Algorithm,” in High Performance Computing and Networking. Lecture Notes in Electrical Engineering, 2022, pp. 461–472. doi: 10.1007/978-981-16-9885-9_38.

W. P. Nurmayanti et al., “Market Basket Analysis with Apriori Algorithm and Frequent Pattern Growth (Fp-Growth) on Outdoor Product Sales Data,” Int. J. Educ. Res. Soc. Sci., vol. 2, no. 1, pp. 132–139, 2021, doi: 10.51601/ijersc.v2i1.45.

I. Prayudha and M. H. Algifari, “Implementation of Algorithms For Frequent Itemset In Forming Association Rules In Movie Recommendation System,” (International J. Inf. Syst. …, vol. 5, no. 158, pp. 570–577, 2022.

D. Hartanti and V. Atina, “Product Stock Supply Analysis System with FP Growth Algorithm,” J. Inf. Syst. Informatics, vol. 5, no. 4, pp. 1312–1320, 2023, doi: 10.51519/journalisi.v5i4.580.

A. Fitria Yulia, F. Rizki, A. Eko Setiawan, and S. Engineering, “Market Basket Analysis In Sales Transactions With Apriori Algorithm,” Int. J. Softw. Eng. Informatics, vol. 1, no. 1, pp. 25–32, 2023, [Online]. Available: https://journal.aisyahuniversity.ac.id/index.php/IJosei

I. Riadi, A. Muis, and M. Yunus, “Implementation of association rule using apriori algorithm and frequent pattern growth for inventory control,” Jurbal Infotel, vol. 15, no. 4, pp. 369–378, 2023.

E. Haerani and C. Juliane, “Finding Customer Patterns Using FP-Growth Algorithm for Product Design Layout Decision Support,” Sistemasi, vol. 11, no. 2, pp. 402–413, 2022, doi: 10.32520/stmsi.v11i2.1762.

T. Y. Prawira, S. Sunardi, and A. Fadlil, “Market Basket Analysis To Identify Stock Handling Patterns & Item Arrangement Patterns Using Apriori Algorithms,” Khazanah Inform. J. Ilmu Komput. dan Inform., vol. 6, no. 1, pp. 33–41, 2020, doi: 10.23917/khif.v6i1.8628.

Y. A. Ünvan, “Market basket analysis with association rules,” Commun. Stat. - Theory Methods, vol. 50, no. 7, pp. 1615–1628, 2021, doi: 10.1080/03610926.2020.1716255.

S. W. Wardani, S. W. Lestari, N. A. Daffa, and I. Tahyudin, “Association Analysis in Java Ateka for Stationery Sales Promotion Using the FP-Growth Algorithm,” Internet Things Artif. Intell. J., vol. 2, no. 3, pp. 133–146, 2023, doi: 10.31763/iota.v2i3.569.

D. Fitrianah and S. Y. Zain, “Analysis of Consumer Purchase Patterns on Handphone Accessories Sales Using FP-Growth Algorithm,” in Proceedings of the International Conference on Engineering, Technology and Social Science (ICONETOS 2020, 2021, pp. 149–158.

T. T. Teoh and Z. Rong, “Association Rules,” in Artificial Intelligence with Python, 2022, pp. 219–224. doi: 10.1007/978-981-16-8615-3_13.

M. J. Huang, H. S. Sung, T. J. Hsieh, M. C. Wu, and S. H. Chung, “Applying data-mining techniques for discovering association rules,” Soft Comput., vol. 24, no. 11, pp. 8069–8075, 2020, doi: 10.1007/s00500-019-04163-4.

E. Hikmawati, N. U. Maulidevi, and K. Surendro, “Minimum threshold determination method based on dataset characteristics in association rule mining,” J. Big Data, vol. 8, no. 1, pp. 1–17, 2021, doi: 10.1186/s40537-021-00538-3.

How to Cite
H. Hairani and J. Ximenes Guterres, “Exploring Customer Purchasing Patterns: A Study Utilizing FP-Growth Algorithm on Supermarket Transaction Data”, International Journal of Engineering and Computer Science Applications (IJECSA), vol. 3, no. 1, pp. 33 - 42, Mar. 2024.

Most read articles by the same author(s)

1 2 > >>