A machine learning-based predictive model for postoperative pulmonary complications in lung cancer and its SHAP interpretation

Background Postoperative pulmonary complications (PPCs) significantly impair patient recovery and adversely affect the long-term prognosis following lung cancer surgery. Despite ongoing advancements in surgical techniques and perioperative care, the incidence of PPCs remains elevated, underscoring the pressing clinical necessity for dependable preoperative risk assessment tools. Methods This study employed a retrospective design, encompassing 1, 223 patients who underwent lung cancer surgery, from whom perioperative clinical data were collected. Following data cleansing and feature selection, the dataset was stratified and randomly divided into training (70%) and testing (30%) sets. Model development and hyperparameter tuning were executed using stratified 10-fold cross-validation (CV) within the training set; all preprocessing and feature selection procedures were confined to the training folds to prevent information leakage. The discriminative and calibration performance of various machine learning algorithms were assessed, and clinical net benefits were appraised using decision curve analysis (DCA). Additionally, Shapley Additive Explanations (SHAP) were employed to elucidate the contributions of specific features to the risk of developing PPCs. Results Among the evaluated models, the k-nearest neighbors (KNN) algorithm demonstrated superior performance, evidenced by a high area under the receiver operating characteristic curve (AUROC) and favorable clinical utility in the DCA. SHAP analysis revealed that factors such as perioperative inflammatory burden, diabetes, hypertension, and smoking history are pivotal in influencing the risk of PPCs. Conclusion The developed machine learning-based predictive model, augmented with SHAP interpretations, effectively identifies patients at high risk for PPCs prior to surgery. This model provides a robust scientific foundation for tailored perioperative care and interventions, offering substantial potential for clinical application.

Authors

Institutions

Publication Details

Journal
Frontiers in Oncology
Published
2026-03-13
DOI
https://doi.org/10.3389/fonc.2026.1749808
Primary Topic
Lung Cancer Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A machine learning-based predictive model for postoperative pulmonary complications in lung cancer and its SHAP interpretation

Ji Hye Yang, Shihao Shao, Xinyu Gu, Zhenchao Lv et al.
Frontiers in Oncology
Lung Cancer Diagnosis and Treatment
article

A machine learning-based predictive model for postoperative pulmonary complications in lung cancer and its SHAP interpretation

Ji Hye Yang, Shihao Shao, Xinyu Gu, Zhenchao Lv, Yun Sha, Zhonghui Wang, Yanming Li, Jinyuan Yang, Beining Tang, Zejing Huangfu
article en

Abstract

Background Postoperative pulmonary complications (PPCs) significantly impair patient recovery and adversely affect the long-term prognosis following lung cancer surgery. Despite ongoing advancements in surgical techniques and perioperative care, the incidence of PPCs remains elevated, underscoring the pressing clinical necessity for dependable preoperative risk assessment tools. Methods This study employed a retrospective design, encompassing 1, 223 patients who underwent lung cancer surgery, from whom perioperative clinical data were collected. Following data cleansing and feature selection, the dataset was stratified and randomly divided into training (70%) and testing (30%) sets. Model development and hyperparameter tuning were executed using stratified 10-fold cross-validation (CV) within the training set; all preprocessing and feature selection procedures were confined to the training folds to prevent information leakage. The discriminative and calibration performance of various machine learning algorithms were assessed, and clinical net benefits were appraised using decision curve analysis (DCA). Additionally, Shapley Additive Explanations (SHAP) were employed to elucidate the contributions of specific features to the risk of developing PPCs. Results Among the evaluated models, the k-nearest neighbors (KNN) algorithm demonstrated superior performance, evidenced by a high area under the receiver operating characteristic curve (AUROC) and favorable clinical utility in the DCA. SHAP analysis revealed that factors such as perioperative inflammatory burden, diabetes, hypertension, and smoking history are pivotal in influencing the risk of PPCs. Conclusion The developed machine learning-based predictive model, augmented with SHAP interpretations, effectively identifies patients at high risk for PPCs prior to surgery. This model provides a robust scientific foundation for tailored perioperative care and interventions, offering substantial potential for clinical application.

Frontiers in OncologyVol. 16
Kunming Medical University (CN), Puer University (CN)
Reduced inequalities
Openalex Percentile: Top 23%
Lung Cancer Diagnosis and Treatment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.