Perbandingan Algoritma Random Forest, XGBoost dan SVM Pada Klasifikasi Penyakit Demam Berdarah Dengue (DBD)


  • Vionando Wira Mada Universitas Teknokrat Indonesia, Bandar Lampung, Indonesia
  • Damayanti Damayanti * Mail Universitas Teknokrat Indonesia, Bandar Lampung, Indonesia
  • (*) Corresponding Author
Keywords: Dengue Hemorrhagic Fever; Clasification; Machine Learning; Random Forest; XGBoost; SVM

Abstract

Dengue Hemorrhagic Fever (DHF) is an infectious disease caused by the dengue virus and transmitted through the bite of the Aedes aegypti mosquito. This disease remains a serious health problem in Indonesia because it can cause severe complications and even death if not treated immediately. This study aims to classify the severity of DHF based on patient clinical data using three machine learning algorithms, namely Random Forest, XGBoost, and Support Vector Machine (SVM). The dataset used consists of 5,000 patient data that includes various vital parameters and laboratory test results such as age, gender, hemoglobin level, white blood cell count (WBC), leukocyte count (Differential Count), red blood cell parameters (RBC Panel), platelet count, and Platelet Distribution Width (PDW). The research stages include data cleaning, handling missing values, coding categorical variables, data normalization, and dividing the dataset into 80% training data and 20% test data. Evaluation is carried out using accuracy, precision, sensitivity (recall), and F1 score metrics. The results showed that the XGBoost algorithm performed best with an accuracy of 87.72%, followed by Random Forest (86.21%) and SVM (84.78%). Based on these findings, XGBoost was deemed most effective in classifying dengue fever. Further research is recommended to use a larger dataset and perform hyperparameter optimization to improve the accuracy and reliability of the resulting model.

Downloads

Download data is not yet available.

References

N. T. Thanh, V. T. Luan, D. C. Viet, T. H. Tung, and V. Thien, “A machine learning-based risk score for prediction of mechanical ventilation in children with dengue shock syndrome: A retrospective cohort study,” PLoS One, vol. 19, no. 12, Dec. 2024, doi: 10.1371/journal.pone.0315281.

M. S. Ansari, D. Jain, and S. Budhiraja, “Machine-learning prediction models for any blood component transfusion in hospitalized dengue patients,” Hematol Transfus Cell Ther, vol. 46, pp. 13–23, Nov. 2024, doi: 10.1016/j.htct.2023.09.2365.

Z. J. Madewell et al., “Machine learning for predicting severe dengue in Puerto Rico,” Infect Dis Poverty, vol. 14, no. 1, Dec. 2025, doi: 10.1186/s40249-025-01273-0.

N. J. Riya, M. Chakraborty, and R. Khan, “Artificial Intelligence-Based Early Detection of Dengue Using CBC Data,” IEEE Access, vol. 12, pp. 112355–112367, 2024, doi: 10.1109/ACCESS.2024.3443299.

B. Liu, M. F. Hossain, and S. Hossain, “A comparative evaluation of multiple machine learning approaches for forecasting dengue outbreaks in Bangladesh,” Sci Rep, vol. 15, no. 1, p. 35931, Oct. 2025, doi: 10.1038/s41598-025-19752-7.

Y. P. Bria et al., “Determining Important Features for Dengue Diagnosis using Feature Selection Methods,” Universitas Katolik Widya Mandira, Jl. San Juan No. 1 Penfui Timur, vol. 6, no. 1, pp. 47–59, 2025, doi: 10.47738/jads.v5i4.445.

A. Qaiser, S. Manzoor, A. H. Hashmi, H. Javed, A. Zafar, and J. Ashraf, “Support Vector Machine Outperforms Other Machine Learning Models in Early Diagnosis of Dengue Using Routine Clinical Data,” Adv Virol, vol. 2024, no. 1, 2024, doi: 10.1155/2024/5588127.

X. Chen and P. Moraga, “Assessing dengue forecasting methods: a comparative study of statistical models and machine learning techniques in Rio de Janeiro, Brazil,” Trop Med Health, vol. 53, no. 1, pp. 1-12, Dec. 2025, doi: 10.1186/s41182-025-00723-7.

P. Sarker, J. J. Tiang, and A. Al Nahid, “Dengue Fever Detection Using Swarm Intelligence and XGBoost Classifier: An Interpretable Approach with SHAP and DiCE,” Information (Switzerland), vol. 16, no. 9, Sep. 2025, doi: 10.3390/info16090789.

B. Liu, M. F. Hossain, and S. Hossain, “A comparative evaluation of multiple machine learning approaches for forecasting dengue outbreaks in Bangladesh,” Sci Rep, vol. 15, no. 1, p. 35931, Dec. 2025, doi: 10.1038/s41598-025-19752-7.

J. Z. Marrington, E. March, S. Murray, C. Jeffries, T. Machin, and S. March, “An exploration of trolling behaviours in Australian adolescents: An online survey,” PLoS One, vol. 18, no. 4 April, Apr. 2023, doi: 10.1371/journal.pone.0284378.

A. Qaiser, S. Manzoor, A. H. Hashmi, H. Javed, A. Zafar, and J. Ashraf, “Support Vector Machine Outperforms Other Machine Learning Models in Early Diagnosis of Dengue Using Routine Clinical Data,” Adv Virol, vol. 2024, no. 1, 2024, doi: 10.1155/2024/5588127.

P. Sarker, J. J. Tiang, and A. Al Nahid, “Dengue Fever Detection Using Swarm Intelligence and XGBoost Classifier: An Interpretable Approach with SHAP and DiCE,” Information (Switzerland), vol. 16, no. 9, Sep. 2025, doi: 10.3390/info16090789.

Y. V Exebio-Chepe, J. A. Bravo-Ruiz, and V. A. Tuesta-Monteza, “Comparison of machine learning algorithms for dengue virus (DENV) classification,”, vol. 22, no. 5, 2024, doi: 10.22201/icat.24486736e.2024.22.5.2422

Y. P. Bria, P. A. Nani, Y. C. H. Siki, N. M. R. Mamulak, E. M. Meolbatak, and R. D. Guntur, “Leveraging a Random Forest Classifier and SVMSMOTE for an Early-stage Dengue Prediction,” Engineering, Technology and Applied Science Research, vol. 15, no. 3, pp. 23436–23442, Jun. 2025, doi: 10.48084/etasr.10762.

G. Gupta et al., “DDPM: A Dengue Disease Prediction and Diagnosis Model Using Sentiment Analysis and Machine Learning Algorithms,” Diagnostics, vol. 13, no. 6, Mar. 2023, doi: 10.3390/diagnostics13061093.

L. Muflikhah, A. Iskandar, N. Yudistira, I. U. Nadlori, and B. N. Dewanto, “High performance of Dengue shock syndrome detection using extreme gradient boosting with ANOVA feature selection,” J Biotech Res, vol. 16, pp. 22-31, 2024, [Online]. Available: https://www.scopus.com/pages/publications/85187224399

M. Pal and S. Parija, “Prediction of Heart Diseases using Random Forest,” in Journal of Physics: Conference Series, IOP Publishing Ltd, Mar. 2021. doi: 10.1088/1742-6596/1817/1/012009.

C. Vlachas et al., “Random forest classification algorithm for medical industry data,” SHS Web of Conferences, vol. 139, p. 03008, 2022, doi: 10.1051/shsconf/202213903008.

S. Didik, H. Henderi, S. Anrie, S. Rulin, S. Saludin, M. M. Malik, and Y. Imam, “Prediction of Heart Disease using Random Forest Algorithm, Support Vector Machine, and Neural Network.” TELKOMNIKA, vol. 23, no. 1, pp. 129-137, 2025, doi: 10.12928/TELKOMNIKA.v23i1.25341

K. Shaheed, Q. Abbas, A. Hussain, and I. Qureshi, “Optimized Xception Learning Model and XgBoost Classifier for Detection of Multiclass Chest Disease from X-ray Images,” Diagnostics, vol. 13, no. 15, Aug. 2023, doi: 10.3390/diagnostics13152583.

K. Budholiya, S. K. Shrivastava, and V. Sharma, “An optimized XGBoost based diagnostic system for effective prediction of heart disease,” Journal of King Saud University - Computer and Information Sciences, vol. 34, no. 7, pp. 4514–4523, Jul. 2022, doi: 10.1016/j.jksuci.2020.10.013.

C. Miller, T. Portlock, D. M. Nyaga, and J. M. O’Sullivan, “A review of model evaluation metrics for machine learning in genetics and genomics,”, vol. 4, pp. 1-13, 2024, Frontiers Media SA. doi: 10.3389/fbinf.2024.1457619.

S. A. Hicks et al., “On evaluation metrics for medical applications of artificial intelligence,” Sci Rep, vol. 12, no. 1, pp. 1-9, Dec. 2022, doi: 10.1038/s41598-022-09954-8.

M. M. Ahsan, S. A. Luna, and Z. Siddique, “Machine-Learning-Based Disease Diagnosis: A Comprehensive Review,” Mar. 01, 2022, MDPI, vol. 10, no. 3, 2022, doi: 10.3390/healthcare10030541.

C. Miller, T. Portlock, D. M. Nyaga, and J. M. O’Sullivan, “A review of model evaluation metrics for machine learning in genetics and genomics,” Frontiers Media SA, vol. 4, pp. 1-13, 2024, doi: 10.3389/fbinf.2024.1457619.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Perbandingan Algoritma Random Forest, XGBoost dan SVM Pada Klasifikasi Penyakit Demam Berdarah Dengue (DBD)

Dimensions Badge
Article History
Submitted: 2025-10-24
Published: 2025-12-31
Abstract View: 260 times
PDF Download: 180 times
How to Cite
Mada, V., & Damayanti, D. (2025). Perbandingan Algoritma Random Forest, XGBoost dan SVM Pada Klasifikasi Penyakit Demam Berdarah Dengue (DBD). Building of Informatics, Technology and Science (BITS), 7(3), 2157-2167. https://doi.org/10.47065/bits.v7i3.8591
Issue
Section
Articles