Key result
Logistic regression predicts POAF with ~0.86 AUC, demonstrating superior stability over complex ML models.
Why the study?
Can machine learning models accurately predict postoperative atrial fibrillation in patients undergoing lung cancer surgery?
Observational (n=540)
No
Can machine learning models accurately predict postoperative atrial fibrillation in patients undergoing lung cancer surgery?
Effect estimate: AUC 0.855
A logistic regression-based nomogram incorporating six clinical predictors provides a practical tool for early postoperative atrial fibrillation risk assessment after lung cancer surgery.
May aid POAF risk stratification after lung cancer surgery; leaves open prospective validation before clinical adoption.
Background: Postoperative atrial fibrillation (POAF) is a common complication after lung cancer surgery, associated with increased morbidity and prolonged hospitalisation. Accurate preoperative or early postoperative risk stratification remains challenging due to the multifactorial nature of POAF. This study aimed to develop and validate machine learning-based prediction models for POAF and to construct a clinically applicable nomogram for individualised risk estimation. Methods: = 161). Least absolute shrinkage and selection operator (LASSO) regression with 10-fold cross-validation was applied in the training cohort to select the most informative predictors. Seven machine-learning models-logistic regression (LR), k-nearest neighbours (KNN), decision tree (DT), random forest (RF), extreme gradient boosting (XGBoost), support vector machine (SVM), and neural network (NN)-were developed using the selected features. Model performance was evaluated in both cohorts in terms of discrimination, calibration, and decision curve analysis. A nomogram was constructed based on the optimal model. Results: LASSO regression identified six predictors of POAF: age, education level, hypertension, marital status, postoperative pain score, and surgical approach. In the training cohort, all models demonstrated good discrimination with area under the receiver operating characteristic curve (AUC) values ranging from 0.827 to 0.995. However, performance declined to varying degrees in the test cohort. LR exhibited the most stable performance, achieving the highest AUC (0.855) and accuracy (0.857), with acceptable precision (0.667), recall (0.563), and F1 score (0.610). Calibration curves indicated good agreement between predicted and observed POAF risks for the LR model, while decision curve analysis demonstrated a consistently favourable net benefit across clinically relevant threshold probabilities. Based on these findings, an LR-based nomogram incorporating the six selected predictors was developed to facilitate individualised POAF risk prediction. Conclusions: We developed and internally validated a machine learning-assisted risk prediction framework for POAF after lung cancer surgery. Compared with more complex models, LR demonstrated superior stability, calibration, and clinical utility. The resulting nomogram provides a practical and interpretable tool for early postoperative POAF risk assessment and may support perioperative monitoring and personalised management of patients undergoing lung cancer surgery.
No takes yet. Share an insight, caveat, or question.
Xu et al. (2026) conducted an observational in Postoperative atrial fibrillation after lung cancer surgery (n=540). Logistic regression prediction model vs. Complex machine learning models (KNN, DT, RF, XGBoost, SVM, NN) was evaluated on Prediction of postoperative atrial fibrillation (AUC in test cohort) (AUC 0.855). A logistic regression model achieved an AUC of 0.855 in the test cohort, demonstrating superior stability for predicting postoperative atrial fibrillation compared to complex machine learning models.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: