Ensemble-Based Modelling for Enhanced Detection of Pneumonia Disease

PDF (1604KB), PP.58-70

Views: 0 Downloads: 0

Author(s)

Mustafa Oguzhan Ozdemir 1 Kemal Akyol 1,*

1. Department of Computer Engineering, Kastamonu University, Kastamonu, 37140, Turkey

* Corresponding author.

DOI: https://doi.org/10.5815/ijem.2026.04.04

Received: 24 Mar. 2026 / Revised: 12 Apr. 2026 / Accepted: 8 Jun. 2026 / Published: 8 Aug. 2026

Index Terms

Pneumonia, X-ray imaging, deep learning, ensemble learning, soft voting

Abstract

Pneumonia is a lung condition that is rather prevalent and has the potential to be lethal. The early diagnosis of this disease is absolutely necessary to cut down on the number of fatalities. The aim of this research is to provide a decision-support tool that can help professionals in the field identify cases of pneumonia. The experimental studies used two publicly available datasets in the Kaggle repository. First, experiments were conducted with the pre-trained models. Then, hard and soft voting ensemble learning approaches were implemented using the five most successful deep learning models. According to the results, the soft voting approach outperformed others, with accuracies of 98.55% and 97.26% in two- and three-class datasets, respectively. With this result, a software included this approach has been developed to assist field experts in their decision-making.

Cite This Paper

Mustafa Oguzhan Ozdemir, Kemal Akyol, "Ensemble-Based Modelling for Enhanced Detection of Pneumonia Disease", International Journal of Engineering and Manufacturing (IJEM), Vol.16, No.4, pp.58-70, 2026. DOI:10.5815/ijem.2026.04.04

Reference

[1]N.M. Elshennawy, D.M. Ibrahim, Deep-Pneumonia Framework Using Deep Learning Models Based on Chest X-Ray Images, Diagnostics 2020, Vol. 10, Page 649 10 (2020) 649. https://doi.org/10.3390/DIAGNOSTICS10090649.
[2]C. Ortiz-Toro, A. García-Pedrero, M. Lillo-Saavedra, C. Gonzalo-Martín, Automatic detection of pneumonia in chest X-ray images using textural features, Comput. Biol. Med. 145 (2022) 105466. https://doi.org/10.1016/J.COMPBIOMED.2022.105466.
[3]M. Ali, M. Shahroz, U. Akram, M.F. Mushtaq, S.C. Altamiranda, S.A. Obregon, I.D.L.T. Díez, I. Ashraf, Pneumonia Detection Using Chest Radiographs with Novel EfficientNetV2L Model, IEEE Access 12 (2024) 34691–34707. https://doi.org/10.1109/ACCESS.2024.3372588.
[4]J.F. Cordier, Organising pneumonia, Thorax 55 (2000) 318–328. https://doi.org/10.1136/THORAX.55.4.318.
[5]O. Ruuskanen, E. Lahti, L.C. Jennings, D.R. Murdoch, Viral pneumonia, Lancet 377 (2011) 1264–1275. https://doi.org/10.1016/S0140-6736(10)61459-6.
[6]M. Grewal, M.M. Srivastava, P. Kumar, S. Varadarajan, RADnet: Radiologist level accuracy using deep learning for hemorrhage detection in CT scans, Proceedings - International Symposium on Biomedical Imaging 2018-April (2018) 281–284. https://doi.org/10.1109/ISBI.2018.8363574.
[7]G.N. Meenakshi Sundara Desikar, R. Kadarkarai, K. Somasundaram, V. Kandasamy, P. Partheeban De, Optimized multi-dimensional attention spiking neural network for pneumonia detection in chest x-ray images, Biomed. Signal Process. Control 113 (2026) 108765. https://doi.org/10.1016/J.BSPC.2025.108765.
[8]Z. Hu, Z. Yang, K.J. Lafata, F.F. Yin, C. Wang, A radiomics-boosted deep-learning model for COVID-19 and non-COVID-19 pneumonia classification using chest x-ray images, Med. Phys. 49 (2022) 3213–3222. https://doi.org/10.1002/MP.15582.
[9]O. Stephen, M. Sain, U.J. Maduh, D.U. Jeong, An Efficient Deep Learning Approach to Pneumonia Classification in Healthcare, J. Healthc. Eng. 2019 (2019) 4180949. https://doi.org/10.1155/2019/4180949.
[10]T. Rahman, M.E.H. Chowdhury, A. Khandakar, K.R. Islam, K.F. Islam, Z.B. Mahbub, M.A. Kadir, S. Kashem, Transfer Learning with Deep Convolutional Neural Network (CNN) for Pneumonia Detection Using Chest X-ray, Applied Sciences 2020, Vol. 10, Page 3233 10 (2020) 3233. https://doi.org/10.3390/APP10093233.
[11]R. Jain, P. Nagrath, G. Kataria, V. Sirish Kaushik, D. Jude Hemanth, Pneumonia detection in chest X-ray images using convolutional neural networks and transfer learning, Measurement 165 (2020) 108046. https://doi.org/10.1016/J.MEASUREMENT.2020.108046.
[12]M.B. Er, Classification of Pneumonia Using Pre-Trained Deep Networks With Chest X-Ray Images | GCRIS Database | Konya Technical University, Konya Journal of Engineering Sciences (2021). https://gcris.ktun.edu.tr/handle/20.500.13091/2125 (accessed April 9, 2025).
[13]S. Ben Atitallah, M. Driss, W. Boulila, A. Koubaa, H. Ben Ghézala, Fusion of convolutional neural networks based on Dempster–Shafer theory for automatic pneumonia detection from chest X-ray images, Int. J. Imaging Syst. Technol. 32 (2022) 658–672. https://doi.org/10.1002/IMA.22653.
[14]N. Rai, N. Kaushik, D. Kumar, C. Raj, A. Ali, Mortality prediction of COVID-19 patients using soft voting classifier, International Journal of Cognitive Computing in Engineering 3 (2022) 172. https://doi.org/10.1016/J.IJCCE.2022.09.001.
[15]C. Budak, V. Mençik, O. Varışlı, Online diagnosis of COVID-19 from chest radiography images by using deep learning algorithms, Neural Comput. Appl. 35 (2023) 20717–20734. https://doi.org/10.1007/S00521-023-08867-5.
[16]N. Srivastava, G. Hinton, A. Krizhevsky, R. Salakhutdinov, Dropout: A Simple Way to Prevent Neural Networks from Overfitting, Journal of Machine Learning Research 15 (2014) 1929–1958.
[17]M. Ben Jabra, A. Koubaa, B. Benjdira, A. Ammar, H. Hamam, COVID-19 Diagnosis in Chest X-rays Using Deep Learning and Majority Voting, Applied Sciences 2021, Vol. 11, Page 2884 11 (2021) 2884. https://doi.org/10.3390/APP11062884.
[18]M.G. Lanjewar, K.G. Panchbhai, P. Charanarur, Small size CNN-Based COVID-19 Disease Prediction System using CT scan images on PaaS cloud, Multimed. Tools Appl. 83 (2024) 60655–60687. https://doi.org/10.1007/S11042-023-17884-4.
[19]B.P. Kaur, H. Singh, R. Hans, S.K. Sharma, C. Kaushal, M.M. Hassan, M.A. Shah, An augmentation aided concise CNN based architecture for COVID-19 diagnosis in real time, Sci. Rep. 14 (2024). https://doi.org/10.1038/S41598-024-51317-Y.
[20]M.F. Hashmi, S. Katiyar, A.G. Keskar, N.D. Bokde, Z.W. Geem, Efficient Pneumonia Detection in Chest Xray Images Using Deep Transfer Learning, Diagnostics (Basel). 10 (2020). https://doi.org/10.3390/DIAGNOSTICS10060417.
[21]K. El Asnaoui, Design ensemble deep learning model for pneumonia disease classification, Int. J. Multimed. Inf. Retr. 10 (2021) 55–68. https://doi.org/10.1007/S13735-021-00204-7/TABLES/6.
[22]A. Narin, C. Kaya, Z. Pamuk, Automatic Detection of Coronavirus Disease (COVID-19) Using X-ray Images and Deep Convolutional Neural Networks, Pattern Analysis and Applications 2021 24:3 24 (2020) 1207–1220. https://doi.org/10.1007/s10044-021-00984-y.
[23]M. Mujahid, F. Rustam, R. Álvarez, J. Luis Vidal Mazón, I. de la T. Díez, I. Ashraf, Pneumonia Classification from X-ray Images with Inception-V3 and Convolutional Neural Network, Diagnostics 2022, Vol. 12, Page 1280 12 (2022) 1280. https://doi.org/10.3390/DIAGNOSTICS12051280.
[24]W. Aldhahi, S. Sull, Uncertain-CAM: Uncertainty-Based Ensemble Machine Voting for Improved COVID-19 CXR Classification and Explainability, Diagnostics (Basel). 13 (2023). https://doi.org/10.3390/DIAGNOSTICS13030441.
[25]H. Zhang, Z. Lv, S. Liu, Z. Sang, Z. Zhang, Cn2a-capsnet: a capsule network and CNN-attention based method for COVID-19 chest X-ray image diagnosis, Discover Applied Sciences 6 (2024) 1–18. https://doi.org/10.1007/S42452-024-05796-3/TABLES/7.
[26]L. Torrey, J. Shavlik, T. Walker, R. MacLin, Transfer Learning via Advice Taking, Studies in Computational Intelligence 262 (2010) 147–170. https://doi.org/10.1007/978-3-642-05177-7_7.
[27]R. Ribani, M. Marengoni, A Survey of Transfer Learning for Convolutional Neural Networks, Proceedings - 32nd Conference on Graphics, Patterns and Images Tutorials, SIBGRAPI-T 2019 (2019) 47–57. https://doi.org/10.1109/SIBGRAPI-T.2019.00010.
[28]G. Dagnew, B.H. Shekar, Ensemble learning‐based classification of microarray cancer data on tree‐based features, Cognitive Computation and Systems 3 (2021) 48–60. https://doi.org/10.1049/CCS2.12003.
[29]K. Pal, B. V. Patel, Data Classification with k-fold Cross Validation and Holdout Accuracy Estimation Methods with 5 Different Machine Learning Techniques, Proceedings of the 4th International Conference on Computing Methodologies and Communication, ICCMC 2020 (2020) 83–87. https://doi.org/10.1109/ICCMC48092.2020.ICCMC-00016.
[30]A. Korkmaz, U. Atila, Artificial Intelligence Studies, Artificial Intelligence Studies (2021) 1–13. https://www.aistudies.org/index.php/ais (accessed April 9, 2025).
[31]K. He, R. Girshick, P. Dollar, Rethinking ImageNet Pre-training, Proceedings of the IEEE International Conference on Computer Vision 2019-October (2018) 4917–4926. https://doi.org/10.1109/ICCV.2019.00502.
[32]Usman C, Rehman SU, Ali A, Khan AM, Ahmad B. Pneumonia Disease Detection Using Chest X-Rays and Machine Learning. Algorithms 2025, Vol 18, Page 82 2025;18:82. https://doi.org/10.3390/A18020082.
[33]Şimşek Ç, Özkorukcuklu S, Işıldak B. Pneumonia detection in chest X-ray images using convolutional neural networks. The European Research Journal 2025;11:907–14. https://doi.org/10.18621/EURJ.1641267.
[34]Shojib MSH, Mridha MMR, Nakib MFN, Islam S, Imtiaz S, Rahman MM, et al. Pneumonia Detection Using Deep Learning and Machine Learning Approaches from Chest X-Ray. 2025 IEEE 2nd International Conference on Computing, Applications and Systems, COMPAS 2025 2025. https://doi.org/10.1109/COMPAS67506.2025.11381803.
[35]Wu C. Pneumonia Detection and Classification Using Lightweight ShuffleNetV2 Based on Transfer Learning. Proceedings of the 2025 2nd International Conference on Generative Artificial Intelligence and Information Security, GAIIS 2025 2025;1:621–5. https://doi.org/10.1145/3728725.3728823.
[36]Nageye AY, Jimale AD, Abdullahi MO, Ahmed YA, Addow MA. Enhancing deep learning for pneumonia detection: developing web based solution for Dr. Sumait Hospital in Mogadishu Somalia. Discover Applied Sciences 2025 7:4 2025;7:309-. https://doi.org/10.1007/S42452-025-06735-6.