Consumer Segmentation With K-Means at Lucky Shop Tanjungbalai
DOI:
https://doi.org/10.35870/ijmsit.v6i1.7213Keywords:
Data Mining, K-Means Clustering, Consumer Segmentation, Marketing Strategy, PHP, MySQLAbstract
Consumer segmentation is an important strategy for improving marketing effectiveness and inventory management in retail businesses. Lucky Shop Tanjungbalai faces challenges in understanding diverse customer purchasing patterns, making it difficult to develop targeted marketing strategies. This study aims to apply the K-Means Clustering method to classify consumers based on purchasing behavior patterns. The data used consisted of 15 customer transaction records collected from Lucky Shop Tanjungbalai, with attributes including purchase frequency, quantity of purchased products, and product categories. This research adopted a qualitative approach combined with data mining techniques using the CRISP-DM framework, which consists of business understanding, data understanding, data preparation, modeling, evaluation, and deployment. The system was developed using PHP and MySQL. The results indicate that K-Means Clustering successfully segmented customers into Loyal Customers and Occasional Customers based on their purchasing characteristics. These segmentation results provide practical benefits for Lucky Shop by enabling more targeted promotional programs, improving customer relationship strategies, optimizing inventory planning, and supporting data-driven business decision-making. Therefore, the implementation of K-Means Clustering can serve as an effective solution for customer segmentation in local retail businesses.
Downloads
References
A'yunan, Y. A. D. K., Indahyanti, U., & Busono, S. (2023). Implementasi Data Mining dalam Klasifikasi Diagnosa Kanker Payudara menggunakan Algoritma Logistic Regression. Jurnal Tekinkom (Teknik Informasi dan Komputer), 6(2), 400-407. https://doi.org/10.37600/tekinkom.v6i2.948
Djaka Permana, M., Lia Hananto , A. ., Novalia, E. ., Huda, B. ., & Paryono, T. . (2023). Klasterisasi Data Jamaah Umrah pada Tanurmutmainah Tour Menggunakan Algoritma K-Means. Jurnal KomtekInfo, 10(1), 15–20. https://doi.org/10.35134/komtekinfo.v10i1.332
Febriani, A., & Putri, S. A. (2020). Segmentasi Konsumen Berdasarkan Model Recency, Frequency, Monetary dengan Metode K-Means. JIEMS (Journal of Industrial Engineering and Management Systems), 13(2). http://dx.doi.org/10.30813/jiems.v13i2.2274
Gunawan, H., & Purwayoga, V. (2022). Data Mining Menggunakan Algoritma K-Means Clustering Untuk Mengetahui Potensi Penyebaran Virus Corona di Kota Cirebon. Jurnal Sisfokom (Sistem Informasi Dan Komputer), 11(1), 1–8. https://doi.org/10.32736/sisfokom.v11i1.1316
Heti Aprilianti, Khothibul Umam, & Maya Rini Handayani. (2025). Comparative Study of SVM, KNN, and Naïve Bayes for Sentiment Analysis of Religious Application Reviews. Journal of Applied Informatics and Computing, 9(3), 920–927. https://doi.org/10.30871/jaic.v9i3.9482
Hidayat, I., Askar, A., & Zaitun, Z. (2022). Teknologi Menurut Pandangan Islam. Prosiding Kajian Islam dan Integrasi Ilmu di Era Society (KIIIES) 5.0, 1(1), 456-460.
Iskandar, I., Triyanto, W. A., Fithri, D. L., & Arifin, M. (2025). Sistem Informasi Manajemen Stok dan Produksi Pakaian Anak Berbasis Web pada UMKM Linda Collection Menggunakan Metode Safety Stock. Jurnal SITECH: Sistem Informasi Dan Teknologi, 8(1), 105–116. https://doi.org/10.24176/sitech.v8i1.15556
Lim, M., & Ridho, M. R. (2021). RANCANG BANGUN SISTEM INFORMASI POINT OF SALE DENGAN FRAMEWORK CODEIGNITER PADA CV POWERSHOP. Computer and Science Industrial Engineering (COMASIE), 4(2), 46–55. Retrieved from https://ejournal.upbatam.ac.id/index.php/comasiejournal/article/view/3173
Nasrullah, A. H. (2021). Implementasi algoritma Decision Tree untuk klasifikasi produk laris. Jurnal Ilmiah Ilmu Komputer Fakultas Ilmu Komputer Universitas Al Asyariah Mandar, 7(2), 45-51. https://doi.org/10.35329/jiik.v7i2.203
Ordila, R., Wahyuni, R., Irawan, Y., & Sari, M. Y. (2020). Penerapan Data Mining Untuk Pengelompokan Data Rekam Medis Pasien Berdasarkan Jenis Penyakit Dengan Algoritma Clustering (Studi Kasus: Poli Klinik Pt. Inecda). Jurnal Ilmu Komputer, 9(2), 148-153. https://doi.org/10.33060/JIK/2020/Vol9.Iss2.181
Pudyawardana, W. (2023). Perancangan Sistem Informasi Pemesanan Makanan Dan Minuman Berbasis Web Pada Restoran Lamongan Cahaya. ALMUISY: Journal of Al Muslim Information System, 2(1), 21-27.
Ramdhan, D., Dwilestari, G., Dana, R. D., & Ajiz, A. (2022). Clustering data persediaan barang dengan menggunakan metode K-Means. MEANS (Media Informasi Analisa dan Sistem), 1-9. doi: 10.54367/means.v7i1.1826.
Soleh, O., & Jonas, D. (2024). Penggunaan Algoritma K-Means untuk Segmentasi Data Pelanggan pada Sistem Pemasaran Berbasis Data Mining. Nusa: Journal of Science Studies, 1(2), 63-69. https://doi.org/10.59613/0e5cay32
Srirahayu, A., & Pribadie, L. S. (2023). Review Paper Data Mining Klasifikasi Data Mining. Jurnal Ilmiah Informatika Global, 14(1). https://doi.org/10.36982/jiig.v14i1.2981
Utami, N., & Rosmita, R. (2024). Pengaruh Point of Purchase Terhadap Keputusan Pembelian Produk Pakaian di PT. Matahari Departement Store Ska Pekanbaru. JIABIS: Jurnal Ilmu Administrasi Bisnis dan Sosial, 2(2), 23-35.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Reza Ahmad Fauzi, Masitah Handayani, Parini

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
1. Copyright Retention and Open Access License
Authors retain copyright of their work and grant the journal non-exclusive right of first publication under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license allows unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
2. Rights Granted Under CC BY 4.0
Under this license, readers are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, including commercial use
- No additional restrictions — the licensor cannot revoke these freedoms as long as license terms are followed
3. Attribution Requirements
All uses must include:
- Proper citation of the original work
- Link to the Creative Commons license
- Indication if changes were made to the original work
- No suggestion that the licensor endorses the user or their use
4. Additional Distribution Rights
Authors may:
- Deposit the published version in institutional repositories
- Share through academic social networks
- Include in books, monographs, or other publications
- Post on personal or institutional websites
Requirement: All additional distributions must maintain the CC BY 4.0 license and proper attribution.
5. Self-Archiving and Pre-Print Sharing
Authors are encouraged to:
- Share pre-prints and post-prints online
- Deposit in subject-specific repositories (e.g., arXiv, bioRxiv)
- Engage in scholarly communication throughout the publication process
6. Open Access Commitment
This journal provides immediate open access to all content, supporting the global exchange of knowledge without financial, legal, or technical barriers.
