Using machine learning for accurate prediction: unlocking a new chapter in risk assessment for postoperative pneumonia in osteosarcoma
Abstract Objective This study aimed to develop and validate risk prediction models for postoperative pneumonia (POP) in osteosarcoma (OS) patients using multiple machine learning (ML) algorithms, ultimately selecting the model with optimal predictive performance for risk assessment. Methods A retrospective analysis was performed on the clinical data from 290 patients with OS who underwent surgical intervention. The dataset was preprocessed and feature-selected using statistical methods such as the T-test, Fisher's exact test, and Chi-square test. Subsequently, ML algorithms—Univariate Logistic Regression, Multivariate Logistic Regression, Least Absolute Shrinkage and Selection Operator (LASSO) regression, Random Forest (RF), and Extreme Gradient Boosting (XGBoost)—were employed to construct risk prediction models. Model performance was evaluated using the area under the receiver operating characteristic (ROC) curve (AUC). The DeLong test was used to compare models and identify the optimal one. Results Among the evaluated models, XGBoost demonstrated superior performance with an area under the receiver operating characteristic curve (ROC-AUC) of 0.948, area under the precision–recall curve (PR-AUC) of 0.866, achieving an accuracy of 0.938, sensitivity of 0.933, and specificity of 0.939. The XGBoost model identified intraoperative blood loss, surgical duration, prophylactic antibiotic administration, age, targeted therapy, lymph node metastasis, and biomarkers (CA-125, CRP, FIB, Tn, SF, GGT) as significant predictors of postoperative pneumonia risk. A nomogram was developed based on these variables. POP was an independent predictor of poor overall survival (adjusted hazard ratio = 1.96, 95% confidence interval [CI]: 1.20–3.20; P = 0.008), with validated proportional hazards (global P = 0.428). Conclusion This study demonstrated that the XGBoost model incorporating 12 routinely available variables exhibited superior predictive performance for POP in OS patients. Additionally, POP was validated as an independent adverse prognostic factor for overall survival in this population.
Authors
- Zhiping Su (ORCID: https://orcid.org/0000-0003-3729-0905)
- Chengxing Zhou
- Chaojie Yu (ORCID: https://orcid.org/0000-0001-8510-6717)
- Chengyu Zhou
- Jian Guan
- Shutian Wei
- Xiaohua Jiang
- Kaiqing Tan
- Yanshan Wei
- Xinpan Lu
Institutions
- University of Electronic Science and Technology of China (CN)
- Guangxi Medical University (CN)
- First Affiliated Hospital of GuangXi Medical University (CN)
- First People's Hospital of Nanning (CN)
- Tumor Hospital of Guangxi Medical University (CN)
Publication Details
- Journal
- European journal of medical research
- Published
- 2026-05-22
- DOI
- https://doi.org/10.1186/s40001-026-04561-z
- Primary Topic
- Sarcoma Diagnosis and Treatment
- Type
- article
- Field-Weighted Citation Impact
- 0.00