Analisis Pola Pembelian Konsumen pada Ritel Sembako Skala Kecil Menggunakan Algoritma Apriori Berbasis Web
DOI:
https://doi.org/10.47065/bulletincsr.v6i6.1411Keywords:
Apriori Algorithm; Association Rules; Transaction Data; Purchasing Patterns; Grocery RetailAbstract
Transaction data in small grocery retail are often used merely for sales reporting, although product co-purchasing patterns may support operational decisions. This study analyzes 380 transactions recorded at Azam Store during 1–31 October 2022 using the Apriori algorithm and integrates the resulting association rules into a web-based application. Evidence was collected through sales records, interviews, observation, and a literature review. Each shopping basket was represented as an itemset, followed by frequent-itemset generation, association-rule construction, and evaluation using support, confidence, and lift. The reported analysis generated 46 association patterns. The rules Bon Cabe and 500 g Cooking Oil ? Eggs, and Eggs and 500 g Cooking Oil ? Bon Cabe, each reached 100% confidence based on 20 co-occurring transactions. The rule Eggs and Bon Cabe ? 500 g Cooking Oil reached 74.074% confidence and a reported lift of 14.07. A confidence of 100% describes the observed transactions only and cannot establish that the same purchasing behavior will recur outside the study period. The contribution of this study lies in integrating transaction management, data processing using the Apriori algorithm, and association-rule evaluation and reporting into a web-based application for small grocery retailers. Black-box testing of the login, transaction, and user-management modules showed that the system performed as expected under the tested scenarios, while white-box analysis using an Apriori flowgraph examined the program's control-flow structure without claiming comprehensive test coverage. The findings provide a basis for proposing product placement strategies, promotional bundles, and inventory priorities. However, this study is limited to one month of transaction data and has not evaluated the impact of implementing these recommendations on business performance.
Downloads
References
R. N. Dianti and J. Zeniarja, “Implementasi Algoritma Apriori untuk Analisis Pola Pembelian Konsumen pada Toserba Yusuf Semarang,” JIPI (Jurnal Ilm. Penelit. dan Pembelajaran Inform., vol. 9, no. 2, pp. 1013–1021, 2024, doi: 10.29100/jipi.v9i2.5421.
R. B. Samasto and E. Mailoa, “Market Basket Analysis Menggunakan Algoritma Apriori untuk Mendukung Strategi Promosi Produk,” J. Teknol. Inf. dan Komun., vol. 16, no. 2, pp. 17–25, 2025, doi: 10.51903/jtikp.v16i2.1011.
N. Aini and Z. Fatah, “Implementasi Algoritma Apriori untuk Analisis Pola Pembelian Konsumen pada Dataset Market Basket Analysis,” J. Mhs. Tek. Inform., vol. 4, no. 2, pp. 168–176, 2025, doi: 10.35473/jamastika.v4i2.4521.
S. Hidayatuloh, C. D. N. Sari, and T. Ghofar, “Strategi Penempatan Produk Berdasarkan Analisis Market Basket dengan Algoritma Apriori di Swalayan ABC Purwokerto,” J. Tek. Ind. Bisnis Digit. dan Tek. Logistik, vol. 4, no. 1, pp. 1–8, 2025, doi: 10.20895/trinistik.v4i1.1822.
C. Fernandez-Basso, M. D. Ruiz, and M. J. Martin-Bautista, “New Spark solutions for distributed frequent itemset and association rule mining algorithms,” Cluster Comput., vol. 27, pp. 1217–1234, 2024, doi: 10.1007/s10586-023-04014-w.
S. Butsianto, C. Naya, and A. M. Rifa’i, “Implementasi Algoritma Apriori dalam Menemukan Pola Asosiasi pada Data Penjualan Produk Retail,” Bull. Comput. Sci. Res., vol. 5, no. 5, pp. 938–947, 2025, doi: 10.47065/bulletincsr.v5i5.731.
M. Danny and I. Isarianto, “Implementasi Data Mining untuk Menentukan Pola Pembelian Obat Menggunakan Metode Apriori,” Bull. Comput. Sci. Res., vol. 6, no. 4, pp. 1584–1592, 2026, doi: 10.47065/bulletincsr.v6i4.1133.
R. N. Fahrizal, I. Arfyanti, and U. Nurfadhila, “Penerapan Algoritma Apriori dalam Menganalisis Pola Minat Beli Konsumen di Coffee Shop,” Bull. Comput. Sci. Res., vol. 6, no. 4, pp. 1711–1718, 2026, doi: 10.47065/bulletincsr.v6i4.1056.
J. Ramadhani, L. Efrizoni, H. Yenni, and F. Zoromi, “Analisis Performa Penjualan dan Prediksi Omzet dengan Pendekatan Market Basket Analysis Berbasis Data Analytics,” Indones. J. Comput. Sci., vol. 14, no. 2, 2025, doi: 10.33022/ijcs.v14i2.4788.
S. Widiyanesti, M. N. Hakim, N. Syamsiyah, and Y. M. Dirohmat, “Enhancing Retail Store Layout for Impulsive Buying Using Market Basket Analysis and the Apriori Algorithm,” J. Ilmu Komput. dan Inform., vol. 11, no. 1, 2025.
S. Rana, M. N. I. Mondal, and M. R. Islam, “Unveiling Purchase Patterns: A Comparative Analysis of Apriori, FP-Growth, and Eclat Algorithms in Market Basket Analysis,” in 2025 International Conference on Electrical, Computer and Communication Engineering (ECCE), 2025. doi: 10.1109/ECCE64574.2025.11013458.
X. Wan and X. Han, “Efficient Top-k Frequent Itemset Mining on Massive Data,” Data Sci. Eng., vol. 9, pp. 177–203, 2024, doi: 10.1007/s41019-024-00241-2.
Z. Farheen and D. Andhe, “Prediction of Customer Purchasing Patterns for Retail Optimization Using Market Basket Techniques,” in 2024 8th International Conference on Computational System and Information Technology for Sustainable Solutions (CSITSS), 2024, pp. 1–5. doi: 10.1109/CSITSS64042.2024.10816740.
M. Alawadh and A. Barnawi, “THAPE: A Tunable Hybrid Associative Predictive Engine Approach for Enhancing Rule Interpretability in Association Rule Learning for the Retail Sector,” Comput. Mater. Contin., vol. 79, no. 3, pp. 4995–5015, 2024, doi: 10.32604/cmc.2024.048762.
R. H. Tristiani and F. S. Papilaya, “Analisis Keterkaitan Layanan Laundry Menggunakan Market Basket Analysis dan Apriori pada One Laundry Jogja,” J. Sist. Komput. dan Inform., vol. 8, no. 1, pp. 238–250, 2026, doi: 10.30865/json.v8i1.10073.
S. D. Rahmawati, A. B. Oktavia, F. S. A. Putri, and D. L. Fithri, “Penerapan Algoritma Apriori Untuk Menemukan Pola Asosiasi Pada Data Penjualan Retail Fashion,” SIMKOM, vol. 10, no. 2, pp. 289–295, 2025, doi: 10.51717/simkom.v10i2.910.
A. W. Bong and M. Mardiani, “Penerapan Data Analitik untuk Menentukan Pola Asosiasi Penjualan dengan Algoritma Apriori,” MDP Student Conf., vol. 4, no. 1, pp. 31–38, 2025, doi: 10.35957/mdp-sc.v4i1.10930.
N. A. Hibnastiar, A. F. Setiawan, and E. H. Susanto, “Penerapan Algoritma Apriori dalam Menentukan Rekomendasi Paket Produk,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 5, no. 1, pp. 321–331, 2025, doi: 10.57152/malcom.v5i1.1782.
A. Kurniawan and A. S. Tihurua, “Pengelolaan Data Transaksi Penjualan Sembako Menggunakan Algoritma Apriori (Studi Kasus Toko Sembako Berkah),” JUPITER J. Comput. Inf. Technol., vol. 7, no. 1, pp. 27–33, 2026, doi: 10.53990/ehgnd746.
G. V. Herdian and F. Sulianta, “Penerapan Association Rule Mining untuk Rekomendasi Promo Bundling dalam Sistem CRM Berbasis Online,” J. Algoritm., vol. 22, no. 2, pp. 188–196, 2025, doi: 10.33364/algoritma/v.22-2.2398.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Analisis Pola Pembelian Konsumen pada Ritel Sembako Skala Kecil Menggunakan Algoritma Apriori Berbasis Web
ARTICLE HISTORY
How to Cite
Issue
Section
Copyright (c) 2026 Surtikanti Surtikanti, Ahmad Syauqie

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).


