Pneumonia detection in chest X-ray images using an ensemble of deep learning models.

Pneumonia is a respiratory infection caused by bacteria or viruses; it affects many individuals, especially in developing and underdeveloped nations, where high levels of pollution, unhygienic living conditions, and overcrowding are relatively common, together with inadequate medical infrastructure....

Full description

Bibliographic Details
Main Authors: Rohit Kundu, Ritacheta Das, Zong Woo Geem, Gi-Tae Han, Ram Sarkar
Format: Article
Language:English
Published: Public Library of Science (PLoS) 2021-01-01
Series:PLoS ONE
Online Access:https://doi.org/10.1371/journal.pone.0256630
_version_ 1818736821408890880
author Rohit Kundu
Ritacheta Das
Zong Woo Geem
Gi-Tae Han
Ram Sarkar
author_facet Rohit Kundu
Ritacheta Das
Zong Woo Geem
Gi-Tae Han
Ram Sarkar
author_sort Rohit Kundu
collection DOAJ
description Pneumonia is a respiratory infection caused by bacteria or viruses; it affects many individuals, especially in developing and underdeveloped nations, where high levels of pollution, unhygienic living conditions, and overcrowding are relatively common, together with inadequate medical infrastructure. Pneumonia causes pleural effusion, a condition in which fluids fill the lung, causing respiratory difficulty. Early diagnosis of pneumonia is crucial to ensure curative treatment and increase survival rates. Chest X-ray imaging is the most frequently used method for diagnosing pneumonia. However, the examination of chest X-rays is a challenging task and is prone to subjective variability. In this study, we developed a computer-aided diagnosis system for automatic pneumonia detection using chest X-ray images. We employed deep transfer learning to handle the scarcity of available data and designed an ensemble of three convolutional neural network models: GoogLeNet, ResNet-18, and DenseNet-121. A weighted average ensemble technique was adopted, wherein the weights assigned to the base learners were determined using a novel approach. The scores of four standard evaluation metrics, precision, recall, f1-score, and the area under the curve, are fused to form the weight vector, which in studies in the literature was frequently set experimentally, a method that is prone to error. The proposed approach was evaluated on two publicly available pneumonia X-ray datasets, provided by Kermany et al. and the Radiological Society of North America (RSNA), respectively, using a five-fold cross-validation scheme. The proposed method achieved accuracy rates of 98.81% and 86.85% and sensitivity rates of 98.80% and 87.02% on the Kermany and RSNA datasets, respectively. The results were superior to those of state-of-the-art methods and our method performed better than the widely used ensemble techniques. Statistical analyses on the datasets using McNemar's and ANOVA tests showed the robustness of the approach. The codes for the proposed work are available at https://github.com/Rohit-Kundu/Ensemble-Pneumonia-Detection.
first_indexed 2024-12-18T00:43:14Z
format Article
id doaj.art-a71d2b5cf1164aa18f2b12a6444f5524
institution Directory Open Access Journal
issn 1932-6203
language English
last_indexed 2024-12-18T00:43:14Z
publishDate 2021-01-01
publisher Public Library of Science (PLoS)
record_format Article
series PLoS ONE
spelling doaj.art-a71d2b5cf1164aa18f2b12a6444f55242022-12-21T21:26:50ZengPublic Library of Science (PLoS)PLoS ONE1932-62032021-01-01169e025663010.1371/journal.pone.0256630Pneumonia detection in chest X-ray images using an ensemble of deep learning models.Rohit KunduRitacheta DasZong Woo GeemGi-Tae HanRam SarkarPneumonia is a respiratory infection caused by bacteria or viruses; it affects many individuals, especially in developing and underdeveloped nations, where high levels of pollution, unhygienic living conditions, and overcrowding are relatively common, together with inadequate medical infrastructure. Pneumonia causes pleural effusion, a condition in which fluids fill the lung, causing respiratory difficulty. Early diagnosis of pneumonia is crucial to ensure curative treatment and increase survival rates. Chest X-ray imaging is the most frequently used method for diagnosing pneumonia. However, the examination of chest X-rays is a challenging task and is prone to subjective variability. In this study, we developed a computer-aided diagnosis system for automatic pneumonia detection using chest X-ray images. We employed deep transfer learning to handle the scarcity of available data and designed an ensemble of three convolutional neural network models: GoogLeNet, ResNet-18, and DenseNet-121. A weighted average ensemble technique was adopted, wherein the weights assigned to the base learners were determined using a novel approach. The scores of four standard evaluation metrics, precision, recall, f1-score, and the area under the curve, are fused to form the weight vector, which in studies in the literature was frequently set experimentally, a method that is prone to error. The proposed approach was evaluated on two publicly available pneumonia X-ray datasets, provided by Kermany et al. and the Radiological Society of North America (RSNA), respectively, using a five-fold cross-validation scheme. The proposed method achieved accuracy rates of 98.81% and 86.85% and sensitivity rates of 98.80% and 87.02% on the Kermany and RSNA datasets, respectively. The results were superior to those of state-of-the-art methods and our method performed better than the widely used ensemble techniques. Statistical analyses on the datasets using McNemar's and ANOVA tests showed the robustness of the approach. The codes for the proposed work are available at https://github.com/Rohit-Kundu/Ensemble-Pneumonia-Detection.https://doi.org/10.1371/journal.pone.0256630
spellingShingle Rohit Kundu
Ritacheta Das
Zong Woo Geem
Gi-Tae Han
Ram Sarkar
Pneumonia detection in chest X-ray images using an ensemble of deep learning models.
PLoS ONE
title Pneumonia detection in chest X-ray images using an ensemble of deep learning models.
title_full Pneumonia detection in chest X-ray images using an ensemble of deep learning models.
title_fullStr Pneumonia detection in chest X-ray images using an ensemble of deep learning models.
title_full_unstemmed Pneumonia detection in chest X-ray images using an ensemble of deep learning models.
title_short Pneumonia detection in chest X-ray images using an ensemble of deep learning models.
title_sort pneumonia detection in chest x ray images using an ensemble of deep learning models
url https://doi.org/10.1371/journal.pone.0256630
work_keys_str_mv AT rohitkundu pneumoniadetectioninchestxrayimagesusinganensembleofdeeplearningmodels
AT ritachetadas pneumoniadetectioninchestxrayimagesusinganensembleofdeeplearningmodels
AT zongwoogeem pneumoniadetectioninchestxrayimagesusinganensembleofdeeplearningmodels
AT gitaehan pneumoniadetectioninchestxrayimagesusinganensembleofdeeplearningmodels
AT ramsarkar pneumoniadetectioninchestxrayimagesusinganensembleofdeeplearningmodels