Stacked ensemble learning based on deep convolutional neural networks for pediatric pneumonia diagnosis using chest X-ray images
- PMID: 36532883
- PMCID: PMC9734540
- DOI: 10.1007/s00521-022-08099-z
Stacked ensemble learning based on deep convolutional neural networks for pediatric pneumonia diagnosis using chest X-ray images
Abstract
Pneumonia is an acute respiratory infection caused by bacteria, viruses, or fungi and has become very common in children ranging from 1 to 5 years of age. Common symptoms of pneumonia include difficulty breathing due to inflamed or pus and fluid-filled alveoli. The United Nations Children's Fund reports nearly 800,000 deaths in children due to pneumonia. Delayed diagnosis and overpriced tests are the prime reason for the high mortality rate, especially in underdeveloped countries. A time and cost-efficient diagnosis tool: Chest X-rays, was thus accepted as the standard diagnostic test for pediatric pneumonia. However, the lower radiation levels for diagnosis in children make the task much more onerous and time-consuming. The mentioned challenges initiate the need for a computer-aided detection model that is instantaneous and accurate. Our work proposes a stacked ensemble learning of deep learning-based features for pediatric pneumonia classification. The extracted features from the global average pooling layer of the fine-tuned Xception model pretrained on ImageNet weights are sent to the Kernel Principal Component Analysis for dimensionality reduction. The dimensionally reduced features are further trained and validated on the stacking classifier. The stacking classifier consists of two stages; the first stage uses the Random-Forest classifier, K-Nearest Neighbors, Logistic Regression, XGB classifier, Support Vector Classifier (SVC), Nu-SVC, and MLP classifier. The second stage operates on Logistic Regression using the first stage predictions for the final classification with Stratified K-fold cross-validation to prevent overfitting. The model was tested on the publicly available pediatric pneumonia dataset, achieving an accuracy of 98.3%, precision of 99.29%, recall of 98.36%, F1-score of 98.83%, and an AUC score of 98.24%. The performance shows its reliability for real-time deployment in assisting radiologists and physicians.
Keywords: Chest X-rays; Computer-aided diagnosis; Deep learning; Pneumonia; Principal component analysis; Stacking classifier; Stratified K-fold; Transfer learning.
© The Author(s), under exclusive licence to Springer-Verlag London Ltd., part of Springer Nature 2022, Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
Conflict of interest statement
Conflicts of interestThe authors declare no conflict of interest.
Figures



















Similar articles
-
Pediatric pneumonia diagnosis using stacked ensemble learning on multi-model deep CNN architectures.Multimed Tools Appl. 2023;82(14):21311-21351. doi: 10.1007/s11042-022-13844-6. Epub 2022 Oct 20. Multimed Tools Appl. 2023. PMID: 36281318 Free PMC article.
-
Deep learning-based meta-classifier approach for COVID-19 classification using CT scan and chest X-ray images.Multimed Syst. 2022;28(4):1401-1415. doi: 10.1007/s00530-021-00826-1. Epub 2021 Jul 6. Multimed Syst. 2022. PMID: 34248292 Free PMC article.
-
Ensemble of CheXNet and VGG-19 Feature Extractor with Random Forest Classifier for Pediatric Pneumonia Detection.SN Comput Sci. 2020;1(6):359. doi: 10.1007/s42979-020-00373-y. Epub 2020 Oct 30. SN Comput Sci. 2020. PMID: 33163973 Free PMC article.
-
COVID-19 diagnosis: A comprehensive review of pre-trained deep learning models based on feature extraction algorithm.Results Eng. 2023 Jun;18:101020. doi: 10.1016/j.rineng.2023.101020. Epub 2023 Mar 16. Results Eng. 2023. PMID: 36945336 Free PMC article. Review.
-
Biphasic majority voting-based comparative COVID-19 diagnosis using chest X-ray images.Expert Syst Appl. 2023 Apr 15;216:119430. doi: 10.1016/j.eswa.2022.119430. Epub 2022 Dec 21. Expert Syst Appl. 2023. PMID: 36570382 Free PMC article. Review.
Cited by
-
Computed tomography-based COVID-19 triage through a deep neural network using mask-weighted global average pooling.Front Cell Infect Microbiol. 2023 Mar 3;13:1116285. doi: 10.3389/fcimb.2023.1116285. eCollection 2023. Front Cell Infect Microbiol. 2023. PMID: 36936770 Free PMC article.
-
Binary Classification of Pneumonia in Chest X-Ray Images Using Modified Contrast-Limited Adaptive Histogram Equalization Algorithm.Sensors (Basel). 2025 Jun 26;25(13):3976. doi: 10.3390/s25133976. Sensors (Basel). 2025. PMID: 40648233 Free PMC article.
-
ZooCNN: A Zero-Order Optimized Convolutional Neural Network for Pneumonia Classification Using Chest Radiographs.J Imaging. 2025 Jan 13;11(1):22. doi: 10.3390/jimaging11010022. J Imaging. 2025. PMID: 39852335 Free PMC article.
-
Deep Learning for Pneumonia Detection in Chest X-ray Images: A Comprehensive Survey.J Imaging. 2024 Jul 23;10(8):176. doi: 10.3390/jimaging10080176. J Imaging. 2024. PMID: 39194965 Free PMC article. Review.
References
-
- Neupane B et al. (2010) Long-term exposure to ambient air pollution and risk of hospitalization with community-acquired pneumonia in older adults." American journal of respiratory and critical care medicine 181(1):47–53 - PubMed
-
- Ramezani M, Aemmi SZ, Moghadam ZE (2015) Factors affecting the rate of pediatric pneumonia in developing countries: a review and literature study. Int J Pediatrics 3(6.2):1173–1181
-
- Rahman MM, et al. Machine learning based computer aided diagnosis of breast cancer utilizing anthropometric and clinical features. Irbm. 2021;42(4):215–226. doi: 10.1016/j.irbm.2020.05.005. - DOI
LinkOut - more resources
Full Text Sources
Research Materials