Penerapan K-Means Clustering untuk Segmentasi Data Penjualan Toko Aksesoris Komputer Menggunakan Google Colab
DOI:
https://doi.org/10.38035/dit.v3i3.3572Keywords:
Business Intelligence, Analitik Data, Google Colab, K-Means Clustering, Pengambilan Keputusan BisnisAbstract
Pengelolaan data penjualan secara efektif merupakan kebutuhan mendasar bagi pelaku usaha di era digital. Penelitian ini bertujuan menganalisis data penjualan toko aksesoris komputer menggunakan Google Colaboratory (Colab) berbasis data Microsoft Excel sebagai sarana pendukung pengambilan keputusan bisnis berbasis data. Data yang digunakan merupakan data transaksi dummy yang merepresentasikan 120 transaksi penjualan dengan sepuluh variabel, meliputi ID pelanggan, usia, gender, produk, kategori produk, harga, jumlah beli, total belanja, frekuensi belanja, dan waktu belanja. Metodologi penelitian mencakup statistik deskriptif, analisis produk terlaris, analisis perilaku konsumen berdasarkan gender dan waktu belanja, analisis scatter plot hubungan frekuensi dan total belanja, serta segmentasi pelanggan menggunakan K-Means Clustering dengan tiga cluster optimal. Hasil menunjukkan Headset Gaming merupakan produk terlaris (22 transaksi, 18,3%), diikuti Laptop Acer dan Printer Epson (16 transaksi). Kategori Aksesoris mendominasi dengan 42 transaksi (35,0%). Pelanggan laki-laki berkontribusi 66,1% dari total belanja (Rp38.490.000). Waktu belanja terbanyak pada siang hari (32,5%). Analisis scatter plot menunjukkan tidak terdapat hubungan linear kuat antara frekuensi dan total belanja. K-Means menghasilkan tiga segmen: Low Value, Medium Value, dan High Value Customer. Penelitian ini menghasilkan rekomendasi strategi bisnis berbasis data untuk CRM, digital marketing, dan manajemen stok yang dapat diadopsi UMKM.
References
L. Chen, M. Zhang, and R. Wang, "Business Intelligence Analytics for SME Retail Decision Making," J. Retail. Consum. Serv., vol. 71, pp. 103–115, 2023.
D. Prasetyo and A. Wijaya, "Segmentasi Pelanggan Menggunakan Metode RFM dan K-Means Clustering," J. Teknol. Inf. Komput., vol. 8, no. 2, pp. 45–58, 2022.
Y. Liu, X. Chen, and J. Li, "Python-Based Sales Data Analytics Using Google Colaboratory," Int. J. Data Sci. Anal., vol. 16, no. 3, pp. 211–228, 2023.
R. Kurniawan, "Analisis Data Excel Menggunakan Python dan Google Colab untuk Bisnis UMKM," J. Sist. Inf. Bisnis, vol. 11, no. 1, pp. 22–35, 2021.
B. Mulyadi, S. Santoso, and T. Wibowo, "CRM Analytics Berbasis Data Mining untuk Peningkatan Loyalitas Pelanggan Ritel," J. Manaj. Teknol., vol. 23, no. 1, pp. 78–94, 2024.
H. Wang and Y. Zhang, "Customer Value Segmentation Using K-Means and PCA in E-Commerce," Electron. Commer. Res. Appl., vol. 56, p. 101202, 2022.
F. Hidayat, R. Permata, and M. Irwan, "Penerapan Business Intelligence pada UMKM dengan Metode Descriptive Analytics," J. Ilm. Tek. Inform., vol. 15, no. 2, pp. 112–125, 2023.
A. Santoso, "Analisis Pola Pembelian Konsumen Menggunakan Association Rule Mining pada Data Transaksi Ritel," J. Inf. Syst. Manag., vol. 4, no. 3, pp. 88–101, 2022.
C. Fernandez, P. Gomez, and A. Martinez, "Machine Learning for Retail Optimization: Comparative Study of K-Means and SVM," Expert Syst. Appl., vol. 240, p. 122478, 2024.
N. Rahmawati, "Digital Marketing Analytics Berbasis Clustering untuk Optimasi Konversi Pemasaran Daring," J. Bisnis Digit., vol. 2, no. 1, pp. 34–49, 2023.
W. Turban, R. Sharda, and D. Delen, Decision Support and Business Intelligence Systems, 10th ed. Hoboken, NJ: Pearson, 2021.
R. Sharma and P. Mithas, "Business Intelligence and Competitive Advantage: A Literature Review," Int. J. Inf. Manag., vol. 63, pp. 102–117, 2022.
P. Chapman et al., "CRISP-DM 1.0: Step-by-Step Data Mining Guide," SPSS Inc. Report, 2021.
S. Kumar and A. Singh, "Retail Analytics Using Machine Learning: A Systematic Review," J. Retail., vol. 99, no. 2, pp. 234–251, 2023.
Google Research, "Google Colaboratory: A Cloud-Based Jupyter Notebook Environment," Google AI Blog, 2022.
F. Pedregosa et al., "Scikit-learn: Machine Learning in Python," J. Mach. Learn. Res., vol. 12, pp. 2825–2830, 2021.
J. MacQueen, "Some Methods for Classification and Analysis of Multivariate Observations," in Proc. 5th Berkeley Symp. Math. Stat. Probab., 1967, vol. 1, pp. 281–297.
T. Hastie, R. Tibshirani, and J. Friedman, The Elements of Statistical Learning, 3rd ed. New York, NY: Springer, 2023.
A. Hughes, "The Database Marketing Institute: RFM Scoring System," Database Mark. Inst. Rep., 2021.
M. Dursun and E. Caber, "Using Data Mining Techniques for Profiling Profitable Hotel Customers," Int. J. Contemp. Hosp. Manag., vol. 28, no. 6, pp. 1142–1166, 2022.
P. Kotler and K. Keller, Marketing Management, 16th ed. Hoboken, NJ: Pearson, 2022.
R. East, M. Wright, and M. Vanhuele, Consumer Behaviour: Applications in Marketing, 4th ed. London: SAGE, 2023.
J. Dholakia, "Gender Differences in Store-Choice, Purchase Incidence, and Basket Size," J. Retailing Consum. Serv., vol. 68, p. 103035, 2022.
C. Anderson, The Long Tail: Why the Future of Business Is Selling Less of More, Updated ed. New York, NY: Hyperion, 2021.
I. Witten, E. Frank, and M. Hall, Data Mining: Practical Machine Learning Tools and Techniques, 5th ed. Burlington, MA: Morgan Kaufmann, 2023.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Edi Suharto, Adhita Arif Setyawan

This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright :
Authors who publish their manuscripts in this journal agree to the following conditions:
- Copyright in each article belongs to the author.
- The author acknowledges that the DIT has the right to be the first to publish under a Creative Commons Attribution 4.0 International license (Attribution 4.0 International CC BY 4.0).
- Authors can submit articles separately, arrange the non-exclusive distribution of manuscripts that have been published in this journal to other versions (for example, sent to the author's institutional repository, publication in a book, etc.), by acknowledging that the manuscript has been published for the first time at DIT.




















