Analisis Perbandingan Naive Bayes, Regresi Logistik Biner, dan Support Vector Machine untuk Prediksi Kasus Demam Berdarah di Purwokerto
DOI:
https://doi.org/10.31316/j.derivat.v12i3.8408Abstract
Dengue Hemorrhagic Fever (DHF) remains a significant public health issue in Purwokerto, with the increasing number of cases influenced by environmental factors such as temperature, humidity, rainfall, and population density. Accurate and adaptive predictive methods are essential to anticipate the spread of DHF, one of which involves the application of machine learning algorithms. This study aims to compare the performance of three algorithms, namely Naïve Bayes, Binary Logistic Regression, and Support Vector Machine (SVM), in predicting DHF risk in Purwokerto. Secondary data were obtained from the Health Office, Meteorology Agency (BMKG), and Statistics Bureau (BPS), covering DHF case records and environmental factors. The analysis was conducted using a quantitative predictive approach, employing 5-Fold Cross Validation and evaluation metrics including accuracy, precision, recall, and F1-score. The results indicate that the SVM model demonstrated the highest performance with an accuracy of 82% and a high recall rate for the positive class, making it effective for DHF risk mapping. The Naïve Bayes model showed adequate sensitivity but lower precision, while the Binary Logistic Regression model produced the lowest overall performance. This study recommends SVM as the most effective algorithm to support early warning systems and risk mitigation for DHF based on environmental data in Purwokerto.
References
Anagora, R., Taufiq, R., Dedi Jubaedi, A., Wirawan, R., & Syah Putra, A. (n.d.). The Classification of Phishing Websites using Naive Bayes Classifier Algorithm. International Journal Of Science.
Arhin, S. A., & Gatiba, A. (2020). Predicting crash injury severity at unsignalized intersections using support vector machines and naïve Bayes classifiers. Transportation Safety and Environment, 2(2), 120–132. https://doi.org/10.1093/tse/tdaa012
Arista, A. (2022). Comparison Decision Tree and Logistic Regression Machine Learning Classification Algorithms to determine Covid-19. Sinkron, 7(1), 59–65. https://doi.org/10.33395/sinkron.v7i1.11243
Bari Antor, M., Jamil, A. H. M. S., Mamtaz, M., Monirujjaman Khan, M., Aljahdali, S., Kaur, M., Singh, P., & Masud, M. (2021). A Comparative Analysis of Machine Learning Algorithms to Predict Alzheimer’s Disease. Journal of Healthcare Engineering, 2021. https://doi.org/10.1155/2021/9917919
Bhatia, S., & Malhotra, J. (2021). Naïve bayes classifier for predicting the novel coronavirus. Proceedings of the 3rd International Conference on Intelligent Communication Technologies and Virtual Mobile Networks, ICICV 2021, 880–883. https://doi.org/10.1109/ICICV50876.2021.9388410
Chernozhukov, V., Newey, W., Quintas-Martínez, V., & Syrgkanis, V. (n.d.). RieszNet and ForestRiesz: Automatic Debiased Machine Learning with Neural Nets and Random Forests.
Fadli, S., Ashari, M., Studi Sistem Informasi, P., & Lombok, S. (2021). JISA (Jurnal Informatika dan Sains) Optimization of Support Vector Machine Method Using Feature Selection to Improve Classification Results.
Fallo, S. I. (n.d.). ABSTRACT SUPPORT VECTOR MACHINE, NA¨IVENA¨ NA¨IVE BAYES CLASSIFIER AND ORDINAL LOGISTIC REGRESSION IN WEATHER PREDICTION.
Gupta, G., Khan, S., Guleria, V., Almjally, A., Alabduallah, B. I., Siddiqui, T., Albahlal, B. M., Alajlan, S. A., & AL-subaie, M. (2023). DDPM: A Dengue Disease Prediction and Diagnosis Model Using Sentiment Analysis and Machine Learning Algorithms. Diagnostics, 13(6). https://doi.org/10.3390/diagnostics13061093
Khikmah, K. N., Indahwati, I., Fitrianto, A., Erfiani, E., & Amelia, R. (2022). Backwards Stepwise Binary Logistic Regression for Determination Population Growth Rate Factor in Java Island. Jambura Journal of Mathematics, 4(2), 177–187. https://doi.org/10.34312/jjom.v4i2.13529
Kularatne, S. A., & Dalugama, C. (2022). Dengue infection: Global importance, immunopathology and management. Clinical Medicine, Journal of the Royal College of Physicians of London, 22(1), 9–13. https://doi.org/10.7861/clinmed.2021-0791
Rahman, M. S., Pientong, C., Zafar, S., Ekalaksananan, T., Paul, R. E., Haque, U., Rocklöv, J., & Overgaard, H. J. (2021). Mapping the spatial distribution of the dengue vector Aedes aegypti and predicting its abundance in northeastern Thailand using machine-learning approach. One Health, 13. https://doi.org/10.1016/j.onehlt.2021.100358
Rocha, F. P., & Giesbrecht, M. (2022). Machine learning algorithms for dengue risk assessment: a case study for São Luís do Maranhão. Computational and Applied Mathematics, 41(8). https://doi.org/10.1007/s40314-022-02101-z
Shahzad, N., Ding, X., & Abbas, S. (2022). A Comparative Assessment of Machine Learning Models for Landslide Susceptibility Mapping in the Rugged Terrain of Northern Pakistan. Applied Sciences (Switzerland), 12(5). https://doi.org/10.3390/app12052280
Sutriyawan, A., Kurniati, N., Novianti, Farida, U., Yusanti, L., Destriani, S. N., & Saputra, M. K. F. (2024). ANALYSIS OF TEMPERATURE, HUMIDITY, RAINFALL, AND WIND VELOCITY ON DENGUE HEMORRHAGIC FEVER IN BANDUNG MUNICIPALITY. Russian Journal of Infection and Immunity, 14(1), 155–162. https://doi.org/10.15789/2220-7619-AOT-2110
Downloads
Published
Issue
Section
Citation Check
License
Copyright (c) 2025 Rosa Ratri Kusuma Hariningsih, Diwahana Mutiara Candrasari, Endang Setyawati, Syamsu Wahidin, Jevon Nataniel Putra5

This work is licensed under a Creative Commons Attribution-ShareAlike 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 a Creative Commons Attribution-ShareAlike 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 (See The Effect of Open Access).





