{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,9]],"date-time":"2026-07-09T04:01:35Z","timestamp":1783569695491,"version":"3.55.0"},"reference-count":30,"publisher":"MDPI AG","issue":"2","license":[{"start":{"date-parts":[[2025,2,3]],"date-time":"2025-02-03T00:00:00Z","timestamp":1738540800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Algorithms"],"abstract":"<jats:p>Pneumonia is a deadly disease affecting millions worldwide, caused by microorganisms and environmental factors. It leads to lung fluid build-up, making breathing difficult, and is a leading cause of death. Early detection and treatment are crucial for preventing severe outcomes. Chest X-rays are commonly used for diagnoses due to their accessibility and low costs; however, detecting pneumonia through X-rays is challenging. Automated methods are needed, and machine learning can solve complex computer vision problems in medical imaging. This research develops a robust machine learning model for the early detection of pneumonia using chest X-rays, leveraging advanced image processing techniques and deep learning algorithms that accurately identify pneumonia patterns, enabling prompt diagnosis and treatment. The research develops a CNN model from the ground up and a ResNet-50 pretrained model This study uses the RSNA pneumonia detection challenge original dataset comprising 26,684 chest array images collected from unique patients (56% male, 44% females) to build a machine learning model for the early detection of pneumonia. The data are made up of pneumonia (31.6%) and non-pneumonia (68.8%), providing an effective foundation for the model training and evaluation. A reduced size of the dataset was used to examine the impact of data size and both versions were tested with and without the use of augmentation. The models were compared with existing works, the model\u2019s effectiveness in detecting pneumonia was compared with one another, and the impact of augmentation and the dataset size on the performance of the models was examined. The overall best accuracy achieved was that of the CNN model from scratch, with no augmentation, an accuracy of 0.79, a precision of 0.76, a recall of 0.73, and an F1 score of 0.74. However, the pretrained model, with lower overall accuracy, was found to be more generalizable.<\/jats:p>","DOI":"10.3390\/a18020082","type":"journal-article","created":{"date-parts":[[2025,2,4]],"date-time":"2025-02-04T05:13:43Z","timestamp":1738646023000},"page":"82","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":23,"title":["Pneumonia Disease Detection Using Chest X-Rays and Machine Learning"],"prefix":"10.3390","volume":"18","author":[{"given":"Cathryn","family":"Usman","sequence":"first","affiliation":[{"name":"Faculty of Science and Engineering, University of Hull, Hull HU6 7RX, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-4566-7144","authenticated-orcid":false,"given":"Saeed Ur","family":"Rehman","sequence":"additional","affiliation":[{"name":"Faculty of Science and Engineering, University of Hull, Hull HU6 7RX, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Anwar","family":"Ali","sequence":"additional","affiliation":[{"name":"Department of Electronic and Electrical Engineering, Swansea University Bay Campus, Swansea SA1 8EN, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Adil Mehmood","family":"Khan","sequence":"additional","affiliation":[{"name":"Faculty of Science and Engineering, University of Hull, Hull HU6 7RX, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Baseer","family":"Ahmad","sequence":"additional","affiliation":[{"name":"Faculty of Science and Engineering, University of Hull, Hull HU6 7RX, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2025,2,3]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Rehman, M.U., Shafique, A., Khan, K.H., Khalid, S., Alotaibi, A.A., Althobaiti, T., Ramzan, N., Ahmad, J., Shah, S.A., and Abbasi, Q.H. (2022). Novel privacy preserving non-invasive sensing-based diagnoses of pneumonia disease leveraging deep network model. Sensors, 22.","DOI":"10.3390\/s22020461"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"31","DOI":"10.1007\/s44230-022-00002-2","article-title":"Review on Pneumonia Image Detection: A Machine Learning Approach","volume":"2","author":"Kareem","year":"2022","journal-title":"Hum. Centric Intell. Syst."},{"key":"ref_3","first-page":"567","article-title":"Lung nodule detection and classification from Thorax CT-scan using RetinaNet with transfer learning","volume":"34","author":"Harsono","year":"2022","journal-title":"J. King Saud Univ. Comput. Inf. Sci."},{"key":"ref_4","first-page":"25","article-title":"Mortality prediction in community acquired pneumonia requiring mechanical ventilation, values of pneumonia and intensive care unit severity scores","volume":"58","author":"Ozyilmaz","year":"2010","journal-title":"Tuberk. Toraks."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Li, Y., Zhang, Z., Dai, C., Dong, Q., and Badrigilan, S. (2020). Accuracy of deep learning for automated detection of pneumonia using chest X-ray images: A systematic review and meta-analysis. Comput. Biol. Med., 123.","DOI":"10.1016\/j.compbiomed.2020.103898"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Tahir, A.M., Chowdhury, M.E., Khandakar, A., Al-Hamouz, S., Abdalla, M., Awadallah, S., Reaz, M.B.I., and Al-Emadi, N. (2020). A systematic approach to the design and characterization of a smart insole for detecting vertical ground reaction force (vGRF) in gait analysis. Sensors, 20.","DOI":"10.3390\/s20040957"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Zhang, D., Ren, F., Li, Y., Na, L., and Ma, Y. (2021). Pneumonia Detection from Chest X-ray Images Based on Convolutional Neural Network. Electronics, 10.","DOI":"10.3390\/electronics10131512"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"62110","DOI":"10.1109\/ACCESS.2022.3182498","article-title":"Pneumonia Detection Proposing a Hybrid Deep Convolutional Neural Network Based on Two Parallel Visual Geometry Group Architectures and Machine Learning Classifiers","volume":"10","author":"Yaseliani","year":"2022","journal-title":"IEEE Access"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Alharbi, A.H., and Hosni Mahmoud, H.A. (2022). Pneumonia Transfer Learning Deep Learning Model from Segmented X-rays. Healthcare, 10.","DOI":"10.3390\/healthcare10060987"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Al Mamlook, R.E., Chen, S., and Bzizi, H.F. (August, January 31). Investigation of the Performance of Machine Learning Classifiers for Pneumonia Detection in Chest X-ray Images. Proceedings of the 2020 IEEE International Conference on Electro Information Technology (EIT), Chicago, IL, USA.","DOI":"10.1109\/EIT48999.2020.9208232"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Chouhan, V., Singh, S.K., Khamparia, A., Gupta, D., Tiwari, P., Moreira, C., Dama\u0161evi\u010dius, R., and de Albuquerque, V.H.C. (2020). A novel transfer learning-based approach for pneumonia detection in chest X-ray images. Appl. Sci., 10.","DOI":"10.3390\/app10020559"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Kadry, S., Nam, Y., Rauf, H., Rajinikanth, V., and Lawal, I. (2021, January 25\u201327). Automated Detection of Brain Abnormality using Deep-Learning-Scheme: A Study. Proceedings of the 2021 Seventh International Conference on Bio Signals, Images, and Instrumentation (ICBSII), Chennai, India.","DOI":"10.1109\/ICBSII51839.2021.9445122"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Artemi, M., and Liu, H. (2020, January 20\u201321). Image Optimization using Improved Gray-Scale Quantization for Content-Based Image Retrieval. Proceedings of the 2020 IEEE 6th International Conference on Optimization and Applications (ICOA), Beni Mellal, Morocco.","DOI":"10.1109\/ICOA49421.2020.9094507"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Albawi, S., Mohammed, T.A., and Al-Azawi, S. (2017, January 21\u201323). Understanding of a Convolutional Neural Network. Proceedings of the 2017 International Conference on Engineering and Technology (ICET), Antalya, Turkey. Available online: https:\/\/www.researchgate.net\/publication\/319253577_Understanding_of_a_Convolutional_Neural_Network.","DOI":"10.1109\/ICEngTechnol.2017.8308186"},{"key":"ref_15","first-page":"1097","article-title":"ImageNet classification with deep convolutional neural networks","volume":"25","author":"Krizhevsky","year":"2012","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"9","DOI":"10.1186\/s40537-016-0043-6","article-title":"A survey of transfer learning","volume":"3","author":"Weiss","year":"2016","journal-title":"J. Big Data"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Yang, Z., and Zhao, Q. (2020, January 2). A Multiple Deep Learner Approach for X-ray Image-Based Pneumonia Detection. Proceedings of the 2020 International Conference on Machine Learning and Cybernetics (ICMLC), Adelaide, Australia.","DOI":"10.1109\/ICMLC51923.2020.9469043"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Rahman, T., Chowdhury, M., Khandakar, A., Islam, K., Islam, K., Mahbub, Z., Kadir, M.A., and Kashem, S. (2020). Transfer learning with deep convolutional neural network (CNN) for pneumonia detection using chest X-ray. Appl. Sci., 10.","DOI":"10.3390\/app10093233"},{"key":"ref_19","first-page":"457","article-title":"An Efficient Method to Predict Pneumonia from Chest X-Rays Using Deep Learning Approach","volume":"Volume 272","author":"Mantas","year":"2020","journal-title":"The Importance of Health Informatics in Public Health During a Pandemic"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Kundu, R., Das, R., Geem, Z.W., Han, G.-T., and Sarkar, R. (2021). Pneumonia detection in chest Xray images using an ensemble of deep learning models. PLoS ONE, 16, Available online: https:\/\/journals.plos.org\/plosone\/article?id=10.1371\/journal.pone.0256630.","DOI":"10.1371\/journal.pone.0256630"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"108046","DOI":"10.1016\/j.measurement.2020.108046","article-title":"Pneumonia detection in chest X-ray images using convolutional neural networks and transfer learning","volume":"165","author":"Rajain","year":"2020","journal-title":"Measurement"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Wang, X., Peng, Y., Lu, L., Lu, Z., Bagheri, M., and Summers, R.M. (2017, January 21\u201326). ChestX-ray8: Hospital-Scale Chest X-ray Database and Benchmarks on Weakly-Supervised Classification and Localization of Common Thorax Diseases. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.","DOI":"10.1109\/CVPR.2017.369"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Rajaraman, S., Candemir, S., Kim, I., Thoma, G., and Antani, S. (2018). Visualization and interpretation of convolutional neural network predictions in detecting pneumonia in pediatric chest radiographs. Appl. Sci., 8.","DOI":"10.3390\/app8101715"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Sharma, H., Jain, J., Bansal, P., and Gupta, S. (2020, January 29\u201331). Feature Extraction and Classification of Chest X-ray Images Using CNN to Detect Pneumonia. Proceedings of the 2020 10th International Conference on Cloud Computting, Data Science & Engineering (Confluence), Noida, India.","DOI":"10.1109\/Confluence47617.2020.9057809"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"4180949","DOI":"10.1155\/2019\/4180949","article-title":"An efficient deep learning approach to pneumonia classification in healthcare","volume":"2019","author":"Stephen","year":"2019","journal-title":"J. Healthc. Eng."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"109953","DOI":"10.1016\/j.measurement.2021.109953","article-title":"Automated pneumonia detection on chest X-ray images: A deep learning approach with different optimizers and transfer learning architectures","volume":"184","author":"Manickam","year":"2021","journal-title":"Measurement"},{"key":"ref_27","unstructured":"Rajpurkar, P., Irvin, J., Zhu, K., Yang, B., Mehta, H., Duan, T., Ding, D., Bagul, A., Langlotz, C., and Shpanskaya, K. (2017). Chexnet: Radiologist-level pneumonia detection on chest x-rays with deep learning. arXiv."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Mabrouk, A., Redondo, R.P.D., Dahou, A., Elaziz, M.A., and Kayed, M. (2022). Pneumonia Detection on chest X-ray images Using Ensemble of Deep Con-volutional Neural Networks. Appl. Sci., 12.","DOI":"10.3390\/app12136448"},{"key":"ref_29","first-page":"271","article-title":"Machine Learning Model for Pneumonia Detection from Chest X-Rays","volume":"14","author":"Nikitha","year":"2023","journal-title":"J. Cardiovasc. Dis. Res. JCDR"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Razavian, A.S., Azizpour, H., Sullivan, J., and Carlsson, S. (2014, January 23\u201328). CNN features off-the-shelf: An astounding baseline for recognition. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops, Columbus, OH, USA. Available online: https:\/\/ieeexplore.ieee.org\/document\/6910029.","DOI":"10.1109\/CVPRW.2014.131"}],"container-title":["Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-4893\/18\/2\/82\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T16:26:12Z","timestamp":1760027172000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-4893\/18\/2\/82"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,2,3]]},"references-count":30,"journal-issue":{"issue":"2","published-online":{"date-parts":[[2025,2]]}},"alternative-id":["a18020082"],"URL":"https:\/\/doi.org\/10.3390\/a18020082","relation":{},"ISSN":["1999-4893"],"issn-type":[{"value":"1999-4893","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,2,3]]}}}