Model Hybrid dalam Penentuan Stok Barang Bangunan Melalui Pendekatan Machine Learning
Abstract
This study aims to develop a machine learning-based construction material stock prediction model using a hybrid approach that combines K-Means Clustering as a sales pattern grouping method and Support Vector Machine (SVM) as a classification method to predict material sales levels. This research was motivated by the problem of stock management at Toko Usaha Jaya in Lubuklinggau City, which is still done manually, thus potentially causing excess stock that increases storage costs and stock shortages that can lead to lost sales opportunities and decreased customer satisfaction. The data used includes material names, initial stock quantities, quantities sold, remaining stock, and selling prices collected during the period from January to December 2023. The results show that the hybrid model is capable of grouping materials into three categories, namely very popular, fairly popular, and less popular, with a Silhouette Score of 0.42, indicating fairly good clustering quality. Furthermore, the SVM model produced a classification accuracy rate of 99%, reflecting an increase in stock prediction accuracy compared to manual management methods. These findings indicate that the application of the K-Means and SVM hybrid model can improve inventory management efficiency and support more accurate and effective data-driven decision making.
Downloads
References
A. P. Rizkyandri, Jasmir, and Y. Arvita, “Implementasi Metode K-Means Clustering Untuk Menentukan Persediaan Barang Pada Toko SS BabyShop,” J. Inform. Dan Rekayasa Komput., vol. 3, no. September, pp. 712–718, 2023, doi: https://doi.org/10.33998/jakakom.v3i2.
D. Ramadhan, G. Dwilestari, R. D. Dana, A. Ajiz, and Kaslani, “Clustering Data Persediaan Barang dengan Menggunakan Metode K-Means,” MEANS (Media Inf. Anal. dan Sist., vol. 7, no. 1, pp. 1–9, 2022, doi: http://ejournal.ust.ac.id/index.php/Jurnal_Means/ MEANS.
K. Komariah, R. Dasuki, D. B. Saputra, S. Anwar, and G. Dwilestari, “Klasifikasi Stok Barang Menggunakan Algoritma Naïve Bayes Pada PT.Dharma Electrindo Manufacturing,” J. Ilm. Manaj. Inform. dan Komput., vol. 04, no. 02, pp. 35–41, 2020, doi: https://doi.org/10.32485/kopertip.v4i2.117.
H. Siregar, “Klasterisasi Penjualan Alat-Alat Bangunan Menggunakan Metode K-Means (Studi Kasus Di Toko Adi Bangunan),” J. Teknol. dan Open Source, vol. 1, no. 2, pp. 83–91, 2018, doi: 10.36378/jtos.v1i2.24.
F. M. Huda and R. Helilintar, “Implementasi Data Mining Pada Hasil Penjualan Barang Menggunakan Metode K-Means Clustering,” in Prosiding Seminar Nasional Inovasi Teknologi, 2020, p. 61.
F. Nurdiyansyah and I. Akbar, “Implementasi Algoritma K-Means untuk Menentukan Persediaan Barang pada Poultry Shop,” J. Teknol. dan Manaj. Inform., vol. 7, no. 2, pp. 86–94, 2021, doi: https://doi.org/10.26905/jtmi.v7i2.6377.
N. Salsabila, “Klasifikasi Barang Menggunakan Metode Clustering K-Means Dalam Penentuan Prediksi Stok Barang (Studi Kasus : Ukm Mar ’ Ah Jilbab Kediri),” Universitas Islam Negeri Maulana Malik Ibrahim, 2019.
B. Sinaga, M. Marpaung, I. Roseni, B. Tarigan, and K. Tania, “Implementation of Stock Goods Data Mining Using the Apriori Algorithm,” SinkrOn, vol. 7, no. 3, pp. 1980–1992, 2023, doi: https://doi.org/10.33395/sinkron.v8i3.12852 e-ISSN.
R. Hardianto, H. Ramadhan, E. P. Pane, and Y. Yunefri, “K-Means Clustering in Determining the Category of Stock Items In Angkasa Mart,” Knowbase Int. J. Knowl. Database, vol. 02, no. 01, pp. 30–45, 2022, doi: http://dx.doi.org/10.30983/ijokid.v2i1.5411.
J. Chomjinda, J. Piladaeng, and P. Thongnim, “Feature Scaling and Pre-processing Techniques for Machine Learning Analysis of Durian Data in Eastern Thailand,” in ICAS2024, 2025, pp. 235–249, [Online]. Available: https://www.researchgate.net/publication/389571761%0A.
M. Imron, U. Hasanah, and B. Humaidi, “Analysis of Data Mining Using K-Means Clustering Algorithm for Product Grouping,” Int. J. Informatics Inf. Syst., vol. 3, no. 1, pp. 12–22, 2020.
N. Syahfitri, E. Budianita, A. Nazir, and I. Afrianty, “Pengelompokan Produk Berdasarkan Data Persediaan Barang Menggunakan Metode Elbow dan K-Medoid,” KLIK Kaji. Ilm. Inform. dan Komput., vol. 4, no. 3, pp. 1668–1675, 2023, doi: 10.30865/klik.v4i3.1525.
P. M. Hasugian, B. Sinaga, J. Manurung, and S. A. Al Hashim, “Performance Analysis Of Elbow Algorithms Against The Results Of Clustering K-means Algorithms In The Grouping Of Rice Production Areas In Indonesia,” Int. J. Artif. Intelegence Res., vol. 5, no. 1, pp. 102–110, 2021, doi: 10.29099/ijair.v6i1.232.
A. Punhani, N. Faujdar, and K. K. Mishra, “Binning-Based Silhouette Approach to Find the Optimal Cluster Using K-Means,” IEEE Access, vol. 10, no. September, pp. 115025–115032, 2022, doi: 10.1109/ACCESS.2022.3215568.
R. Guido, S. Ferrisi, and D. Lofaro, “An Overview on the Advancements of Support Vector Machine Models in Healthcare Applications : A Review,” Information, vol. 15, no. 235, pp. 1–36, 2024, doi: https://doi.org/ 10.3390/info15040235.
D. A. Pisner and D. M. Schnyer, Support Vector Machine. Elsevier Inc., 2020.
F. Pratama, M. Nasir, and S. Sauda, “Implementasi Metode Klasifikasi Dengan Algoritma Support Vector Machine Untuk Menentukan Stok Persediaan Barang Pada Koperasi Karyawan Pangan Utama,” J. Softw. Eng. Ampera, vol. 1, no. 2, pp. 71–81, 2020, [Online]. Available: https://journal-computing.org/index.php/journal-sea/index%0AImplementasi.
N. Fadhilah and A. Desiani, “Klasifikasi Nyeri Punggung Bawah Menggunakan Algoritma K-Nearest Neighbor Dan Support Vector Machine,” J. Tek. Elektro dan Komputasi Vol., vol. 7, no. 1, pp. 91–98, 2025, doi: 10.32528/elkom.v7i1.22767.
S. Uddin, I. Haque, H. Lu, M. A. Moni, and E. Gide, “Comparative performance analysis of K ‑ nearest neighbour ( KNN ) algorithm and its different variants for disease prediction,” Sci. Rep., vol. 12, pp. 1–11, 2022, doi: 10.1038/s41598-022-10358-x.
R. Ghezelbash, A. Maghsoudi, M. Shamekhi, B. Pradhan, and M. Daviran, “Genetic algorithm to optimize the SVM and K -means algorithms for mapping of mineral prospectivity,” Neural Comput. Appl., vol. 5, 2022, doi: https://doi.org/10.1007/s00521-022-07766-5.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Model Hybrid dalam Penentuan Stok Barang Bangunan Melalui Pendekatan Machine Learning
Pages: 9-19
Copyright (c) 2025 Intan Bintang Adinda, Davit Irawan, Joni Karman, Ahmad Sobri

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).






















