Deteksi Dini Diabetes Mellitus Menggunakan Algoritma Random Forest pada Data Klinis

Authors

  • Muhammad Rizky Ananda Program Studi Ilmu Komputer, Universitas Brawijaya, Malang, Indonesia
  • Rizky Kurniawan Program Studi Teknik Informatika, Universitas Sebelas Maret, Surakarta, Indonesia
  • Dewi Lestari Putri Program Studi Ilmu Komputer, Universitas Brawijaya, Malang, Indonesia

DOI:

https://doi.org/10.70716/jocsit.v2i1.410

Keywords:

random forest, diabetes mellitus, early detection, machine learning

Abstract

Early detection of Diabetes Mellitus is essential to reduce complications and improve patient outcomes. Machine learning approaches, particularly the Random Forest algorithm, have demonstrated promising performance in medical prediction tasks using clinical datasets. This study aims to analyze the effectiveness of the Random Forest algorithm for early diabetes detection based on clinical variables through a literature-based analytical research design. Data were synthesized from empirical findings reported in recent peer-reviewed studies published between 2022–2025. The analysis indicates that Random Forest consistently achieves high predictive performance, with reported accuracy ranging from 79.2% to 99.64% across multiple datasets and experimental configurations. Feature selection, data balancing techniques such as SMOTE and ADASYN, and hyperparameter optimization significantly improve model robustness. Comparative evaluation shows Random Forest outperforms several conventional machine learning classifiers in handling imbalanced medical datasets and identifying key risk factors. The findings highlight the algorithm’s reliability for clinical decision support systems and early screening applications. This study contributes a comprehensive synthesis of current evidence supporting Random Forest implementation in healthcare analytics and provides recommendations for future development of intelligent diabetes prediction systems.

Downloads

Download data is not yet available.

References

Agrawal, N., Choubey, S., Choubey, A., et al. (2024). Predicting early-stage diabetes risk: A machine learning approach. Journal of Data Science, 2(1). https://doi.org/10.26634/jds.2.1.20356

Ahmed, M. R., & Reddy, G. S. V. S. (2023). Type 2 diabetes mellitus: Early detection using machine learning classification. International Journal of Advanced Computer Science and Applications, 14(6). https://doi.org/10.14569/ijacsa.2023.01406127

Akmeşe, Ö. F. (2022). Diagnosing diabetes with machine learning techniques. Hitit Journal of Science and Engineering, 9(3). https://doi.org/10.17350/hjse19030000250

Almadhoun, M. B., & Aboobaider, B. M. (2025). Optimizing feature selection and machine learning algorithms for early detection of prediabetes risk: Comparative study. JMIR Bioinformatics and Biotechnology. https://doi.org/10.2196/70621

Al-Mousa, A., AlKhdour, L., Bishawi, H., et al. (2023). Multiclass diabetes detection using random forest classification. In Proceedings of the IEEE Conference on Electrical Engineering and Information Technology. https://doi.org/10.1109/jeeit58638.2023.10185679

Aulia, H., Wibowo, A., & Sutrisno. (2025). Integration of Random Forest, ADASYN, and SHAP for diabetes prediction and interpretation. Scientific Journal of Informatics, 12(2). https://doi.org/10.15294/sji.v12i2.24314

Chaithanya, B. N. (2023). RFFE – Random Forest fuzzy entropy for the classification of diabetes mellitus. AIMS Public Health, 10(3). https://doi.org/10.3934/publichealth.2023030

Choudhary, D., Gupta, P. K., & Gupta, S. (2024). Early phase detection of diabetes mellitus using machine learning. In Communications in Computer and Information Science. Springer. https://doi.org/10.1007/978-3-031-56703-2_10

Dai, Z., Shen, T., & Zhang, Y. (2023). Risk prediction of diabetes based on Spark and Random Forest algorithm. In Proceedings of the IEEE International Conference on Big Data Analytics. https://doi.org/10.1109/EEBDA56825.2023.10090801

Duvvuri, S. K. (2025). Predictive modelling and IoT-based early intervention for diabetes mellitus in East and West Godavari districts using clinical big data. International Journal of Scientific Research in Computer Science, Engineering and Information Technology. https://doi.org/10.32628/cseit25111695

Furtado, L. E. T. A. (2023). A predictive model for early detection of diabetes mellitus using machine learning (Dissertation). https://doi.org/10.58694/20.500.12479/1592

Gündoğdu, S. (2023). Efficient prediction of early-stage diabetes using XGBoost classifier with Random Forest feature selection technique. Multimedia Tools and Applications. https://doi.org/10.1007/s11042-023-15165-8

Hakeel, M. (2025). Machine learning-based diabetes prediction app using Random Forest algorithm. JATI (Jurnal Mahasiswa Teknik Informatika), 9(1). https://doi.org/10.36040/jati.v9i1.12654

Hossen, M. K., Tabassum, A., & Ferdaus, J. (2023). Machine learning-based diabetic risk prediction model for early detection. International Journal of Scientific Research in Science and Technology. https://doi.org/10.32628/ijsrst5231057

Iskandar, R. F. N., Gutama, D. H., Wijaya, D. P., et al. (2024). Klasifikasi menggunakan metode Random Forest untuk awal deteksi diabetes melitus tipe 2. Jurnal Teknik Industri Terintegrasi, 7(3). https://doi.org/10.31004/jutin.v7i3.26916

Kumar, R., Gupta, M., Tamak, N., et al. (2023). Predictive modeling for early detection of diabetes using machine learning approach. In IEEE International Conference Proceedings. https://doi.org/10.1109/icaiccit60255.2023.10465892

Nancy, ., Sil, S., Rani, R., et al. (2023). Unleashing the power of machine learning: Advancing early prediction and analysis of diabetes mellitus. In IEEE World Conference Proceedings. https://doi.org/10.1109/wconf58270.2023.10235242

Nisa, S. K., Barata, M. A., & Yuwita, P. E. (2025). Optimization of Random Forest algorithm with SMOTE method to improve the accuracy of early diabetes prediction. Scientific Journal of Informatics, 12(3). https://doi.org/10.15294/sji.v12i3.22986

Raman, R., Kumar, V., & Pillai, B. G., et al. (2024). Uncovering risk factors for diabetes mellitus using data mining classification techniques. In IEEE International Conference Proceedings. https://doi.org/10.1109/icdsis61070.2024.10594402

Reddy, G. S. V. S., & Ahmed, M. R. (2023). Exploring the effectiveness of machine learning algorithms for early detection of type-2 diabetes mellitus. Measurement: Sensors. https://doi.org/10.1016/j.measen.2023.100983

Sabariah, M. K., Hanifa, S. T. A., & Sa’adah, M. T. S. (2014). Early detection of type II diabetes mellitus with Random Forest and classification and regression tree (CART). In IEEE International Conference Proceedings. https://doi.org/10.1109/ICAICTA.2014.7005947

Saeed, A., Ajmal, H. M. S., & Khan, M. U. A., et al. (2024). Enhancing early detection of diabetes using machine learning algorithms. In IEEE Conference Proceedings. https://doi.org/10.1109/iciestr60916.2024.10798412

Silva, J. R. N. O., Hirata, M., Carvalho, M., et al. (2024). Explorando a aplicação de modelos de aprendizagem de máquina na análise de suspeita de diabetes. Journal of Applied Data Science, 6(5–6). https://doi.org/10.29327/2385054.6.5-6

Sukamto, T. F., Prameswary, C. L., Royadi, D., et al. (2025). Diabetes disease prediction on unbalanced data using SMOTE-Tomek links and Random Forest algorithm. G-Tech, 9(3). https://doi.org/10.70609/g-tech.v9i3.7164

Wang, S. (2024). Diabetes prediction using Random Forest in healthcare. Highlights in Science, Engineering and Technology. https://doi.org/10.54097/5ndh9a05

Warsi, M. F., Gupta, S. N., Mohan, J., et al. (2025). A novel approach for early detection of type 2 diabetes with advanced ML algorithms based on SFS and PCA. In Advances in Intelligent Systems. https://doi.org/10.4018/979-8-3693-6864-0.ch004

Wulandari, A., & Anggreainy, M. S. (2024). Implementation of Random Forest model with hyperparameter tuning for diabetes mellitus classification. In IEEE International Conference Proceedings. https://doi.org/10.1109/ic2ie63342.2024.10747821

Downloads

Published

2026-03-25

How to Cite

Ananda, M. R., Kurniawan, R., & Putri, D. L. (2026). Deteksi Dini Diabetes Mellitus Menggunakan Algoritma Random Forest pada Data Klinis. Journal of Computer Science and Information Technology, 2(1), 1–8. https://doi.org/10.70716/jocsit.v2i1.410