Answers are grounded in this paper and cite their sources.
More than 2 million people die annually from pneumonia around the world. Pneumonia is the second most misdiagnosed condition leading to hospital readmission, which displays the difficulty of accurate and timely diagnosis. Various studies have applied deep learning (DL), including hybrids and ensembles, to medical analysis, yielding promising results. However, these models utilized have led to high computational costs as well as a consumption of resources. The datasets used to train the models have also shown class imbalance and a lack of diversity in the data. In this paper, we analyzed the effects of hyperparameters on DL models to optimize the performance of these models trained on a balanced Kaggle pneumonia chest X-ray dataset. We evaluated five architectures (MobileNetV2, VGG16, InceptionV3, EfficientNetB0, ResNet50) across four hyperparameters– learning rate, batch size, target epochs, and data augmentation– conducting 450 total simulations. After accumulating the data, feature importance was rank-ordered using XGBoost (XGB) and Random Forest (RF), with decision trees extracted from RF. Key findings of this study involved learning rate being the most influential hyperparameter and augmentation resulting in higher accuracy and F1-score than non-augmented data. Furthermore, RF and XGB hyperparameter importance ranking varied within each model but remained the same whether evaluated by accuracy or F1-score, with XGB consistently achieving a higher predictive fit. This study provides a practical framework for future work related to optimizing DL models for classifying pneumonia or other diseases based on medical images.
No takes yet. Share an insight, caveat, or question.
Chawla et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: