Abstract:Background:?Postoperative frailty is a common complication following cardiac surgery and is associated with impaired recovery and poorer long-term outcomes. This study aimed to develop and externally validate a patient-level prediction model for postoperative frailty in adults undergoing cardiac surgery. Methods:?Our study included patients who underwent cardiac surgery at our hospital between January and December 2023. Frailty was assessed one month postoperatively using the FRAIL scale, and patients were categorized into frailty and non-frailty groups. Three machine learning algorithms—Least Absolute Shrinkage and Selection Operator (LASSO), Random Forest (RF), and eXtreme Gradient Boosting (XGBoost)—were employed to identify common predictors. A nomogram prediction model was subsequently constructed using Logistic regression. The model's discriminative ability was evaluated using the Receiver Operating Characteristic (ROC) curve and the Area Under the Curve (AUC). Calibration curves assessed consistency, and Decision Curve Analysis (DCA) evaluated clinical utility. The model was validated internally and externally. Results:?A total of 301 patients were included. Among them, 235 patients were divided into a training set (n=165) and an internal validation set (n=70) at a ratio of 7:3, while the remaining 66 patients served as temporal validation. Based on the machine learning results, four common predictors were identified: age, preoperative left ventricular ejection fraction (EF), preoperative albumin level, and preoperative left ventricular end-diastolic dimension (LVDd). These were used to construct the nomogram. The model demonstrated excellent discriminative ability in the training set (AUC = 0.846, 95% CI: 0.763-0.928), internal validation set (AUC = 0.821, 95% CI: 0.701-0.940), and temporal validation set (AUC = 0.846, 95% CI: 0.740-0.951). The calibration curve indicated high consistency between predicted and observed risks. Decision curve analysis further confirmed its good clinical practicality. Conclusion:?The nomogram prediction model for post-cardiac surgery frailty, based on patient age, preoperative albumin level, EF, and LVDd, exhibits good predictive performance and clinical applicability, facilitating the early identification of high-risk patients.