Analisis Perbandingan Naïve Bayes dan Random Forest dalam Klasifikasi Validitas Data Inventory PT Suplai Indo Tehnik
DOI:
https://doi.org/10.55606/juitik.v6i3.2775Keywords:
10-Fold Cross Validation, Data Mining, Inventory Validity, Naïve Bayes, Random ForestAbstract
Accuracy of inventory data is vital for distribution operational efficiency, yet data quality issues such as duplication and manual validation errors remain persistent at PT Suplai Indo Tehnik. This study aims to implement and compare the performance of Naïve Bayes and Random Forest algorithms in classifying inventory data validity into Valid and Invalid classes. The dataset comprises 3,236 cleaned operational records spanning 2022 to 2026 across eight selected attributes. Modeling was conducted using Orange Data Mining evaluated via 10-Fold Cross Validation. Results reveal that Random Forest significantly outperforms Naïve Bayes across all metrics, achieving 93.3% Accuracy, 93.3% Precision, 93.3% Recall, 93.3% F1-Score, an Area Under Curve (AUC) of 0.980, and a Matthews Correlation Coefficient (MCC) of 0.863, whereas Naïve Bayes yielded an Accuracy of 58.9% and an AUC of 0.635. The lower performance of Naïve Bayes stems from the violation of its conditional independence assumption due to inter-attribute correlations, whereas Random Forest's ensemble mechanism effectively captures complex feature interactions. Practically, these findings recommend Random Forest for automating real-time inventory data validation to enhance data accuracy and operational consistency.
References
Allgaier, J., & Pryss, R. (2024). Cross-Validation Visualized: A Narrative Guide to Advanced Methods. Machine Learning and Knowledge Extraction, 6(2), 1378–1388. https://doi.org/10.3390/make6020065
Alnuaimi, A. F. A. H., & Albaldawi, T. H. K. (2024). An overview of machine learning classification techniques. BIO Web of Conferences, 97, 00133. https://doi.org/10.1051/bioconf/20249700133
Ardan, T. S., Mujiatno, A. S., & Akbar, B. A. (2025). Implementasi Data Analytics Menggunakan Metodologi CRISP-DM (Studi Kasus Data Bike Sales in Europe Pada Platform Kaggle). JSiI (Jurnal Sistem Informasi), 12(2), 10–15.
Arvind, V. R., Shrinidhi, R. M., Deepa, T., & Maheedhar, M. (2025). Intelligent Warehousing: A Machine Learning and IoT Framework for Precision Inventory Optimization. IEEE Access, 13, 169381–169414. https://doi.org/10.1109/ACCESS.2025.3614679
Berrar, D. (2024). Bayes’ Theorem and Naive Bayes Classifier. Encyclopedia of Data Science, 1, 118–125. https://doi.org/10.1016/B978-0-323-95502-7.00118-4
Cahyono, A. R., Iskandar, A., & Rifqi, A. (2025). Analisis Data Inventaris Pada PT. Global Samudera Kreasi untuk Optimalisasi Pengelolaan dan Prediksi Kualitas Barang Menggunakan Algoritma Support Vector Machine dan Naïve Bayes. Jurnal Mahasiswa Teknik Informatika (JATI), 9(3), 13437–13444. https://doi.org/10.36040/jati.v9i3.13437
Chicco, D., & Jurman, G. (2023). The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification. BioData Mining, 16(1), 1–23. https://doi.org/10.1186/s13040-023-00322-4
Daruhadi, G., & Sopiati, P. (2024). Metode Pengumpulan Data Penelitian. Jurnal Cendekia Ilmiah, 3(5), 5423–5443. https://doi.org/10.56799/jceki.v3i5.5181
Diantika, S., Nalatissifa, H., Maulidah, N., Supriyadi, R., & Fauzi, A. (2024). Penerapan Teknik Random Oversampling Untuk Memprediksi Ketepatan Waktu Lulus Menggunakan Algoritma Random Forest. Computer Science (CO-SCIENCE), 4(1), 11–18. https://doi.org/10.31294/coscience.v4i1.1996
Dobesova, Z. (2024). Evaluation of Orange data mining software and examples for lecturing machine learning tasks in geoinformatics. Computer Applications in Engineering Education, 32(4), e22735. https://doi.org/10.1002/cae.22735
Dong, S., Sahri, S., & Palpanas, T. (2024). Data Quality Awareness: A Journey from Traditional Data Management to Data Science Systems. Proceedings of ACM Conference, 1, 1–12.
Fidayanthie, E. W., Sayfulloh, A., Alzena, M. R., & Sari, N. K. (2025). Analisis Perbandingan Algoritma Random Forest dan Algoritma Naive Bayes untuk Memprediksi Penyakit Paru-Paru di Indonesia. Saturnus: Jurnal Teknologi Dan Sistem Informasi, 3(3), 123–135. https://doi.org/10.61132/saturnus.v3i3.956
Handayani, K., Erni, Ardiyansyah, & Sasongko, A. (2025). Analisis Kinerja Logistic Regression dan Random Forest pada Deteksi Fraud E-Commerce Menggunakan SMOTE dan PCA. Jurnal Infortech, 6(2), 186–193.
Handrianto, Y., & AlWafi, M. Z. (2025). Penerapan Algoritma Naive Bayes Pada Penerimaan Santri Baru Pendidikan Pondok Pesantren. Jurnal Infortech, 7(1), 1–5. https://doi.org/10.31294/infortech.v7i1.25458
Hicks, S. A., Strümke, I., Thambawita, V., Hammou, M., Riegler, M. A., Halvorsen, P., & Parasa, S. (2022). On evaluation metrics for medical applications of artificial intelligence. Scientific Reports, 12(1), 1–9. https://doi.org/10.1038/s41598-022-09954-8
Humairah, N. L., & Fauzan, A. (2024). Spatial Insights Into Earthquake Strength: a Sulawesi Case Study Using Ordinary and Robust Kriging Methods. Barekeng: Jurnal Ilmu Matematika dan Terapan, 18(2), 1283–1296. https://doi.org/10.30598/barekengvol18iss2pp1283-1296
Kozak, J., Probierz, B., Kania, K., & Juszczuk, P. (2022). Preference-Driven Classification Measure. Entropy, 24(4), 1–24. https://doi.org/10.3390/e24040531
Kurniasari, D., Hidayah, R. N., Notiragayu, N., Warsono, W., & Nisa, R. K. (2024). Classification Models for Academic Performance: A Comparative Study of Naïve Bayes and Random Forest Algorithms in Analyzing University of Lampung Student Grades. Jurnal Teknik Informatika (JUTIF), 5(5), 1267–1276. https://doi.org/10.52436/1.jutif.2024.5.5.2066
Kurniawan, D., Purnomo, H. D., & Iriani, A. (2024). Analisis Sentimen Komentar Konsumen Industri Jamu di Media Sosial menggunakan Artificial Neural Network dan K-Nearest Neighbor. Jurnal Sistem Informasi Bisnis, 14(3), 210–223. https://doi.org/10.21456/vol14iss3pp210-223
Li, J. (2024). Area under the ROC Curve has the most consistent evaluation for binary classification. PLoS ONE, 19(12), e0316019. https://doi.org/10.1371/journal.pone.0316019
Mahfouz, M. A., Mosaad, S. M., & Belal, M. A. (2023). Inventory Data Mining System Using Federated Machine Learning Strategy. Journal of Southwest Jiaotong University, 58(3), 51–62. https://doi.org/10.35741/issn.0258-2724.58.3.51
Nurhidayati, Samsu, L., & Amina, W. (2023). Implementasi Algoritma Naive Bayes Untuk Klasifikasi Penerima Beasiswa. Infotek: Jurnal Informatika Dan Teknologi, 6(1), 45–54. https://doi.org/10.29408/jit.v6i1.7529
Opitz, J. (2024). A Closer Look at Classification Evaluation Metrics and a Critical Reflection of Common Evaluation Practice. Transactions of the Association for Computational Linguistics, 12, 820–836. https://doi.org/10.1162/tacl_a_00675
Pardede, J., & Dwianto, R. (2025). The Effect of Feature Selection on Machine Learning Classification. International Journal on Informatics Visualization, 9(4), 1419–1429. https://doi.org/10.62527/joiv.9.4.2926
Permana, R., & Herdiana, F. A. (2025). Analisis Klasifikasi Dan Prediksi Pola Publikasi Berita Pemprov DKI Jakarta Menggunakan Machine Learning. Jurnal Infortech, 7(1), 50–55. https://doi.org/10.31294/infortech.v7i1.25926
Pudjihartono, N., Fadason, T., Kempa-Liehr, A. W., & O’Sullivan, J. M. (2022). A Review of Feature Selection Methods for Machine Learning-Based Disease Risk Prediction. Frontiers in Bioinformatics, 2, 927312. https://doi.org/10.3389/fbinf.2022.927312
Purwandaru, D., Ruldeviyani, Y., Nugraheni, S., & Prisillia, G. (2024). Comparative Analysis of Multicriteria Inventory Classification and Forecasting: A Case Study in PT XYZ. Jurnal Informatika Ekonomi Bisnis, 6(4), 732–739. https://doi.org/10.37034/infeb.v6i4.1014
Rainio, O., Teuho, J., & Klén, R. (2024). Evaluation metrics and statistical tests for machine learning. Scientific Reports, 14(1), 6086. https://doi.org/10.1038/s41598-024-56706-x
Resti, Y., Irsan, C., Latif, J. F., Yani, I., & Dewi, N. R. (2023). A Bootstrap-Aggregating in Random Forest Model for Classification of Corn Plant Diseases and Pests. Science and Technology Indonesia, 8(2), 288–297. https://doi.org/10.26554/sti.2023.8.2.288-297
Saifudin, S. I. F., & Sunanto. (2026). Komparasi Naïve Bayes dan Random Forest untuk Prediksi Tingkat Stres Berdasarkan Pola Penggunaan Medsos. Informatics and Computer Engineering Journal, 6(1), 12–20.
Salman, H. A., Kalakech, A., & Steiti, A. (2024). Random Forest Algorithm Overview. Babylonian Journal of Machine Learning, 2024, 69–79. https://doi.org/10.58496/BJML/2024/007
Saprudin, M. T., Sudrajat, B., & Asymar, H. H. (2026). Analisis Perbandingan Algoritma Random Forest dan Naive Bayes Dalam Klasifikasi Penyakit AIDS. Jurnal Elektro dan Informatika Selatan (JEIS), 6(1), 100–108. https://doi.org/10.56486/jeis.vol6no1.1002
Saputri, E. (2025). Teknik dan aplikasi data mining di Indonesia: tinjauan literatur satu dekade (2015-2024). IT-Explore: Jurnal Penerapan Teknologi Informasi Dan Komunikasi, 4(2), 138–149. https://doi.org/10.24246/itexplore.v4i2.2025.pp138-149
Vargas, V. W. de, Aranda, J. A. S., Silva Pereira, P. R. da, & Barbosa, J. L. V. (2023). Imbalanced data preprocessing techniques for machine learning: a systematic mapping study. Knowledge and Information Systems, 65(1), 31–57. https://doi.org/10.1007/s10115-022-01772-8
Yulia, R., & Seputro, D. N. D. (2025). Digital Transformation of Inventory Management: Evaluating the Impact of First In First Out-Based Accurate Point of Sale System Implementation on Warehouse Operations. International Journal Administration, Business & Organization, 6(3), 378–393. https://doi.org/10.61242/ijabo.25.663
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Jurnal Ilmiah Teknik Informatika dan Komunikasi

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.







