Objective:
Postoperative delirium (POD) is strongly associated with poor early and long-term prognosis in cardiac surgery patients with cardiopulmonary bypass (CPB). This study aimed to develop dynamic prediction models for POD after cardiac surgery under CPB using machine learning (ML) algorithms.
Methods:
From July 2021 to June 2022, clinical data were collected from patients undergoing cardiac surgery under CPB at Nanjing First Hospital. A dataset from the same center (October 2022 to November 2022) was also used for temporal external validation. We used ML and deep learning to build models in the training set, optimized parameters in the test set, and finally validated the best model in the validation set. The SHapley Additive exPlanations (SHAP) method was introduced to explain the best models.
Results:
Of the 885 patients enrolled, 221 (25.0%) developed POD. 22 (22.0%) of 100 validation cohort patients developed POD. The preoperative and postoperative artificial neural network (ANN) models exhibited optimal performance. The validation results demonstrated satisfactory predictive performance of the ANN model, with area under the receiver operator characteristic curve (AUROC) values of 0.776 and 0.684 for the preoperative and postoperative models, respectively. Based on the ANN algorithm, we constructed dynamic, highly accurate, and interpretable web risk calculators for POD.
Conclusions:
We successfully developed online interpretable dynamic ANN models as clinical decision aids to identify patients at high risk of POD before and after cardiac surgery to facilitate early intervention or care.
Keywords:
Cardiac surgery; Cardiopulmonary bypass; Dynamic prediction; Machine learning; Postoperative delirium; Pre- and post-operative models.