An explainable CNN–BiLSTM–Random Forest framework for epidemic warning-signal and disease-status classification

Authors

  • Faruk Obansa Muhammed
    Department of Computer Science, Nile University of Nigeria, Abuja, Nigeria
  • Muhammad Aliyu Suleiman
    Department of Computer Science, Nile University of Nigeria, Abuja, Nigeria
  • Saleh El-Yakub Abdullahi
    Department of Computer Science, Nile University of Nigeria, Abuja, Nigeria
  • Austin Olom Ogar
    Department of Computer Science, Nile University of Nigeria, Abuja, Nigeria

Keywords:

Epidemic surveillance, Ensemble learning, Explainable artificial intelligence, Text classification, Disease-status classification

Abstract

This study evaluates an explainable ensemble in which Convolutional Neural Network and Bidirectional Long Short-Term Memory feature extractors feed a Random Forest classifier, applied under one architectural template to two independent tasks: labelling Ebola-related tweets as symptom-bearing warning signals and labelling structured coronavirus disease 2019 (COVID-19) patient records as positive or negative for severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The tasks use disjoint data on different diseases, are never fused, and model no forecasting horizon. Results come from five-fold stratified cross-validation repeated twice, with preprocessing and decision thresholds fitted inside each training partition and metrics reported per class. On the social media task, the framework attains a positive-class sensitivity of 0.918, precision of 0.975, and F1-score of 0.946, exceeding a term-frequency baseline by 0.024 in F1-score. Two ablations qualify this: raising the tokenizer vocabulary from 100 to 5,000 terms and training the extractors end-to-end account for the entire gain; the recurrent branch and the sentiment feature add nothing thereafter. On the clinical task, no configuration improves on a Random Forest over the laboratory variables alone, but the operating point matters more than the model: reporting at 90% specificity rather than at a probability cut of 0.5 raises sensitivity from 0.310 to 0.711, and to 0.803 at 80% specificity. Discrimination falls to 0.66 in patients without a complete blood count, so the instrument is a post-haematology triage aid rather than a screening tool. Shapley Additive Explanations rank leukocytes and platelets highest but cover only 14% of the model's attribution mass.

Dimensions

[1] H. Ren, Y. Ling, R. Cao, Z. Wang, Y. Li & T. Huang, ``Early warning of emerging infectious diseases based on multimodal data'', Biosafety and Health 5 (2023) 193. https://doi.org/10.1016/j.bsheal.2023.05.006.

[2] S. Moore, E. M. Hill, M. J. Tildesley, L. Dyson & M. J. Keeling, ``Vaccination and non-pharmaceutical interventions for COVID-19: a mathematical modelling study'', The Lancet Infectious Diseases 21 (2021) 793. https://doi.org/10.1016/S1473-3099(21)00143-2.

[3] J. Viana, C. H. van Dorp, A. Nunes, M. C. Gomes, M. van Boven, M. E. Kretzschmar, M. Veldhoen & G. Rozhnova, ``Controlling the pandemic during the SARS-CoV-2 vaccination rollout'', Nature Communications 12 (2021) 3674. https://doi.org/10.1038/s41467-021-23938-8.

[4] G. Giordano, M. Colaneri, A. Di Filippo, F. Blanchini, P. Bolzern, G. De Nicolao, P. Sacchi, P. Colaneri & R. Bruno, ``Modeling vaccination rollouts, SARS-CoV-2 variants and the requirement for non-pharmaceutical interventions in Italy'', Nature Medicine 27 (2021) 993. https://doi.org/10.1038/s41591-021-01334-5.

[5] G. Cho, J. R. Park, Y. Choi, H. Ahn & H. Lee, ``Detection of COVID-19 epidemic outbreak using machine learning'', Frontiers in Public Health 11 (2023) 1252357. https://doi.org/10.3389/fpubh.2023.1252357.

[6] A. AlArjani, M. T. Nasseef, S. M. Kamal, B. V. S. Rao, M. Mahmud & M. S. Uddin, ``Application of mathematical modeling in prediction of COVID-19 transmission dynamics'', Arabian Journal for Science and Engineering 47 (2022) 10163. https://doi.org/10.1007/s13369-021-06419-4.

[7] C. El Morr, D. Ozdemir, Y. Asdaah, A. Saab, Y. El-Lahib & E. S. Sokhn, ``AI-based epidemic and pandemic early warning systems: a systematic scoping review'', Health Informatics Journal 30 (2024) 14604582241275844. https://doi.org/10.1177/14604582241275844.

[8] R. Abdallah, S. A. AbdelGaber & H. A. Sayed, Disease outbreak/epidemic in public health sector, 6th International Conference on Computing and Informatics (ICCI 2024), Egypt, 2024, pp. 203--216. https://doi.org/10.1109/ICCI61671.2024.10485007.

[9] P. S. T. Shashank, A. Vaibhavi, J. Vaishnavi & M. A. Jabbar, ``Regression model for prediction of epidemic outbreaks'', IOP Conference Series: Materials Science and Engineering 1042 (2021) 012016. https://doi.org/10.1088/1757-899x/1042/1/012016.

[10] S. Amin, M. I. Uddin, D. H. alSaeed, A. Khan & M. Adnan, ``Early detection of seasonal outbreaks from Twitter data using machine learning approaches'', Complexity 2021 (2021) 5520366. https://doi.org/10.1155/2021/5520366.

[11] R. Aleixo, F. Kon, R. Rocha, M. S. Camargo & R. Y. De Camargo, Predicting dengue outbreaks with explainable machine learning, 22nd IEEE/ACM International Symposium on Cluster, Cloud and Internet Computing (CCGrid 2022), Taormina, Italy, 2022, pp. 940--947. https://doi.org/10.1109/CCGrid54584.2022.00114.

[12] D. Y. Kirange, V. M. Pathak & Y. N. Chaudhari, ``Ensemble model for epidemic detection in Maharashtra using machine learning techniques'', IOSR Journal of Computer Engineering 27 (2025) 31. https://www.iosrjournals.org/iosr-jce/papers/Vol27-issue2/Ser-1/F2702013138.pdf.

[13] B. Abdualgalil, S. Abraham & W. M. Ismael, ``Early diagnosis for dengue disease prediction using efficient machine learning techniques based on clinical data'', Journal of Robotics and Control (JRC) 3 (2022) 257. https://doi.org/10.18196/jrc.v3i3.14387.

[14] S. Sharma, Y. K. Gupta & A. K. Mishra, ``Analysis and prediction of COVID-19 multivariate data using deep ensemble learning methods'', International Journal of Environmental Research and Public Health 20 (2023) 5943. https://doi.org/10.3390/ijerph20115943.

[15] M. Abu Talib, Y. Afadar, Q. Nasir, A. Bou Nassif, H. Hijazi & A. Hasasneh, ``A tree-based explainable AI model for early detection of Covid-19 using physiological data'', BMC Medical Informatics and Decision Making 24 (2024) 179. https://doi.org/10.1186/s12911-024-02576-2.

[16] B. C. Bohm, F. E. de Melo Borges, S. C. M. Silva, A. T. Soares, D. D. Ferreira, V. S. Belo, J. S. Lignon & F. R. P. Bruhn, ``Utilization of machine learning for dengue case screening'', BMC Public Health 24 (2024) 1573. https://doi.org/10.1186/s12889-024-19083-8.

[17] S. Kumar, S. K. Gupta, V. Kumar, M. Kumar, M. K. Chaube & N. S. Naik, ``Ensemble multimodal deep learning for early diagnosis and accurate classification of COVID-19'', Computers and Electrical Engineering 103 (2022) 108396. https://doi.org/10.1016/j.compeleceng.2022.108396.

[18] F. O. Muhammed, A. O. Ogar, M. A. Suleiman & S. E. Abdullahi, ``Machine learning for epidemic outbreak prediction: recent advances and open problems'', NIPES Journal of Science and Technology Research 7 (2025) 642. https://doi.org/10.37933/nipes/7.4.2025.SI75.

[19] E. Y. Cramer et al., ``Evaluation of individual and ensemble probabilistic forecasts of COVID-19 mortality in the United States'', Proceedings of the National Academy of Sciences 119 (2022) e2113561119. https://doi.org/10.1073/pnas.2113561119.

[20] A. Mahajan, N. Sharma, S. Aparicio-Obregon, H. Alyami, A. Alharbi, D. Anand, M. Sharma & N. Goyal, ``A novel stacking-based deterministic ensemble model for infectious disease prediction'', Mathematics 10 (2022) 1714. https://doi.org/10.3390/math10101714.

[21] P. K. Roy & A. Kumar, ``Early prediction of COVID-19 using ensemble of transfer learning'', Computers and Electrical Engineering 101 (2022) 108018. https://doi.org/10.1016/j.compeleceng.2022.108018.

[22] K. Sherratt et al., ``Predictive performance of multi-model ensemble forecasts of COVID-19 across European nations'', eLife 12 (2023) e81916. https://doi.org/10.7554/eLife.81916.

[23] A. Sebastianelli, D. Spiller, R. Carmo, J. Wheeler, A. Nowakowski, L. V. Jacobson, D. Kim, H. Barlevi, Z. El Raiss Cordero, F. J. Col'on-Gonz'alez, R. Lowe, S. L. Ullo & R. Schneider, ``A reproducible ensemble machine learning approach to forecast dengue outbreaks'', Scientific Reports 14 (2024) 3807. https://doi.org/10.1038/s41598-024-52796-9.

[24] Y. Liscano, L. A. Anillo Arrieta, J. F. Montenegro, D. Prieto-Alvarado & J. Ord'o~nez, ``Early warning of infectious disease outbreaks using social media and digital data: a scoping review'', International Journal of Environmental Research and Public Health 22 (2025) 1104. https://doi.org/10.3390/ijerph22071104.

[25] S. Wang, B. Z. Li, M. Khabsa, H. Fang & H. Ma, ``Linformer: self-attention with linear complexity'', arXiv preprint arXiv:2006.04768, 2020. https://arxiv.org/abs/2006.04768.

[26] I. Goodfellow, Y. Bengio & A. Courville, Deep Learning, MIT Press, Cambridge, MA, USA, 2016. https://www.deeplearningbook.org.

[27] S. M. Lundberg, G. Erion, H. Chen, A. DeGrave, J. M. Prutkin, B. Nair, R. Katz, J. Himmelfarb, N. Bansal & S.-I. Lee, ``From local explanations to global understanding with explainable AI for trees'', Nature Machine Intelligence 2 (2020) 56. https://doi.org/10.1038/s42256-019-0138-9.

[28] N. Absar, N. Uddin, M. U. Khandaker & H. Ullah, ``The efficacy of deep learning based LSTM model in forecasting the outbreak of contagious diseases'', Infectious Disease Modelling 7 (2022) 170. https://doi.org/10.1016/j.idm.2021.12.005.

[29] X. Wen & W. Li, ``Time series prediction based on LSTM-attention-LSTM model'', IEEE Access 11 (2023) 48322. https://doi.org/10.1109/ACCESS.2023.3276628.

[30] S. F. Ardabili, A. Mosavi, P. Ghamisi, F. Ferdinand, A. R. Varkonyi-Koczy, U. Reuter, T. Rabczuk & P. M. Atkinson, ``COVID-19 outbreak prediction with machine learning'', Algorithms 13 (2020) 249. https://doi.org/10.3390/a13100249.

[31] M. J. Kane, N. Price, M. Scotch & P. Rabinowitz, ``Comparison of ARIMA and Random Forest time series models for prediction of avian influenza H5N1 outbreaks'', BMC Bioinformatics 15 (2014) 276. https://doi.org/10.1186/1471-2105-15-276.

[32] H. Liany, A. Jeyasekharan & V. Rajan, ``Predicting synthetic lethal interactions using heterogeneous data sources'', Bioinformatics 36 (2020) 2209. https://doi.org/10.1093/bioinformatics/btz893.

[33] G. Wang, X. Liu, K. Wang, Y. Gao, G. Li, D. T. Baptista-Hon, X. H. Yang, K. Xue, W. H. Tai, Z. Jiang, L. Cheng, M. Fok, J. Y.-N. Lau, S. Yang, L. Lu, P. Zhang & K. Zhang, ``Deep-learning-enabled protein-protein interaction analysis for prediction of SARS-CoV-2 infectivity and variant evolution'', Nature Medicine 29 (2023) 2007. https://doi.org/10.1038/s41591-023-02483-5.

[34] A. I. Khan & A. Al-Badi, ``Emerging data sources in decision making and AI'', Procedia Computer Science 177 (2020) 318. https://doi.org/10.1016/j.procs.2020.10.042.

[35] S. Suma, R. Mehmood & A. Albeshri, ``Automatic detection and validation of smart city events using HPC and Apache Spark platforms'', in Smart Infrastructure and Applications: Foundations for Smarter Cities and Societies, R. Mehmood, S. See, I. Katib & I. Chlamtac (Eds.), Springer, Cham, Switzerland, 2020, pp. 55--78. https://doi.org/10.1007/978-3-030-13705-2_3.

[36] Z. Shao, N. S. Sumari, A. Portnov, F. Ujoh, W. Musakwa & P. J. Mandela, ``Urban sprawl and its impact on sustainable urban development: a combination of remote sensing and social media data'', Geo-Spatial Information Science 24 (2021) 241. https://doi.org/10.1080/10095020.2020.1787800.

[37] X. Hu, C. Feng, T. Ling & M. Chen, ``Deep learning frameworks for protein--protein interaction prediction'', Computational and Structural Biotechnology Journal 20 (2022) 3223. https://doi.org/10.1016/j.csbj.2022.06.025.

[38] G. D. Maganga, J. Kapetshi, N. Berthet, B. K. Ilunga, F. Kabange, P. M. Kingebeni, V. Mondonge, J.-J. T. Muyembe, E. Bertherat, S. Briand, J. Cabore, A. Epelboin, P. Formenty, G. Kobinger, L. Gonz'alez-Angulo, I. Labouba, J.-C. Manuguerra, J.-M. Okwo-Bele, C. Dye & E. M. Leroy, ``Ebola virus disease in the Democratic Republic of Congo'', New England Journal of Medicine 371 (2014) 2083. https://doi.org/10.1056/NEJMoa1411099.

[39] A. Mirugwe, C. Ashaba, A. Namale, E. Akello, E. Bichetero, E. Kansiime & J. Nyirenda, ``Sentiment analysis of social media data on Ebola outbreak using deep learning classifiers'', Life 14 (2024) 708. https://doi.org/10.3390/life14060708.

[40] S. Melchane, Y. Elmir & F. Kacimi, ``Infectious diseases prediction based on machine learning: the impact of data reduction using feature extraction techniques'', Procedia Computer Science 239 (2024) 675. https://doi.org/10.1016/j.procs.2024.06.223.

[41] A. C. Flores, R. I. Icoy, C. F. Pena & K. D. Gorro, An evaluation of SVM and naive Bayes with SMOTE on sentiment analysis data set, 4th International Conference on Engineering, Applied Sciences and Technology (ICEAST 2018), Phuket, Thailand, 2018, pp. 1--4. https://doi.org/10.1109/ICEAST.2018.8434401.

[42] S. Arena, G. Manca, S. Murru, P. F. Orr`u, R. Perna & D. Reforgiato Recupero, ``Data science application for failure data management and failure prediction in the oil and gas industry: a case study'', Applied Sciences 12 (2022) 10617. https://doi.org/10.3390/app122010617.

[43] K. Maharana, S. Mondal & B. Nemade, ``A review: data pre-processing and data augmentation techniques'', Global Transitions Proceedings 3 (2022) 91. https://doi.org/10.1016/j.gltp.2022.04.020.

FIG5

Published

2026-09-11

How to Cite

An explainable CNN–BiLSTM–Random Forest framework for epidemic warning-signal and disease-status classification. (2026). Journal of the Nigerian Society of Physical Sciences, 8(4), 3606. https://doi.org/10.46481/jnsps.2026.3606

How to Cite

An explainable CNN–BiLSTM–Random Forest framework for epidemic warning-signal and disease-status classification. (2026). Journal of the Nigerian Society of Physical Sciences, 8(4), 3606. https://doi.org/10.46481/jnsps.2026.3606

Similar Articles

1-10 of 141

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)