Lung cancer risk prediction using interpretable ensemble models on lifestyle and clinical data
Open Access
- 3 September 2026
- journal article
- research article
- Published by Public Library of Science (PLoS) in PLOS ONE
- Vol. 21 (9) , e0357291
Abstract
Lung cancer remains one of the leading causes of cancer-related mortality worldwide, where early detection and reliable risk assessment are critical for improving outcomes. This study develops and evaluates a range of ensemble learning models for lung cancer prediction using lifestyle and clinical indicators, with an emphasis on both predictive performance and interpretability. Five base learners—logistic regression, k-nearest neighbors, naïve Bayes, support vector machine, and linear discriminant analysis—were used to construct multiple boosting and bagging models. Building on these, voting and stacking ensembles were designed by selectively combining high-performing models. All approaches were evaluated on the original dataset as well as on balanced and upsampled variants derived through synthetic augmentation. Model performance was assessed using accuracy, precision, recall, F1-score, Matthews correlation coefficient (MCC), and AUC-ROC. The results show that ensemble approaches consistently outperform individual models, with voting and stacking demonstrating superior performance over boosting and bagging methods. The stacking model achieved the strongest overall performance across all evaluated models. On the original dataset, which provides a more realistic representation of practical deployment conditions, it attained an accuracy of 93.53%. Performance further improved on the balanced and upsampled datasets on the upsampled dataset. To enhance transparency, SHAP and LIME were employed to provide global and local interpretability, respectively, enabling identification of key clinical factors and patient-specific risk drivers. The analysis highlights both alignment with known clinical patterns and dataset-driven variations, supporting informed interpretation of model outputs. The results suggest that stacking-based ensembles can improve risk prediction from lifestyle and clinical indicators while maintaining model transparency through SHAP and LIME explanations. These findings highlight the potential of interpretable ensemble learning as a decision-support tool for lung cancer risk assessment.Keywords
Funding Information
- University of Texas Health Science Center at Houston
- Deanship of Scientific Research, Vice Presidency for Graduate Studies and Scientific Research, King Faisal University, Saudi Arabia (KFU264609)
This publication has 52 references indexed in Scilit:
- Interpretable lung cancer risk prediction using ensemble learning and XAI based on lifestyle and demographic dataComputational Biology and Chemistry, 2025
- A review of Explainable Artificial Intelligence in healthcareComputers and Electrical Engineering, 2024
- DeepXplainer: An interpretable deep learning based approach for lung cancer detection using explainable artificial intelligenceComputer Methods and Programs in Biomedicine, 2023
- Lung cancer detection from CT scans using modified DenseNet with feature selection methods and ML classifiersExpert Systems with Applications, 2023
- Explainable AI for clinical and remote health applications: a survey on tabular and time series dataArtificial Intelligence Review, 2022
- Lung Cancer 2020Clinics in Chest Medicine, 2020
- Elderlies2019
- The Elements of Statistical Learning2009
- Extremely randomized treesMachine Learning, 2006
- A Decision-Theoretic Generalization of On-Line Learning and an Application to BoostingJournal of Computer and System Sciences, 1997