Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 May 21;25(1):401.
doi: 10.1186/s12891-024-07528-5.

Machine learning models on a web application to predict short-term postoperative outcomes following anterior cervical discectomy and fusion

Affiliations

Machine learning models on a web application to predict short-term postoperative outcomes following anterior cervical discectomy and fusion

Mert Karabacak et al. BMC Musculoskelet Disord. .

Abstract

Background: The frequency of anterior cervical discectomy and fusion (ACDF) has increased up to 400% since 2011, underscoring the need to preoperatively anticipate adverse postoperative outcomes given the procedure's expanding use. Our study aims to accomplish two goals: firstly, to develop a suite of explainable machine learning (ML) models capable of predicting adverse postoperative outcomes following ACDF surgery, and secondly, to embed these models in a user-friendly web application, demonstrating their potential utility.

Methods: We utilized data from the National Surgical Quality Improvement Program database to identify patients who underwent ACDF surgery. The outcomes of interest were four short-term postoperative adverse outcomes: prolonged length of stay (LOS), non-home discharges, 30-day readmissions, and major complications. We utilized five ML algorithms - TabPFN, TabNET, XGBoost, LightGBM, and Random Forest - coupled with the Optuna optimization library for hyperparameter tuning. To bolster the interpretability of our models, we employed SHapley Additive exPlanations (SHAP) for evaluating predictor variables' relative importance and used partial dependence plots to illustrate the impact of individual variables on the predictions generated by our top-performing models. We visualized model performance using receiver operating characteristic (ROC) curves and precision-recall curves (PRC). Quantitative metrics calculated were the area under the ROC curve (AUROC), balanced accuracy, weighted area under the PRC (AUPRC), weighted precision, and weighted recall. Models with the highest AUROC values were selected for inclusion in a web application.

Results: The analysis included 57,760 patients for prolonged LOS [11.1% with prolonged LOS], 57,780 for non-home discharges [3.3% non-home discharges], 57,790 for 30-day readmissions [2.9% readmitted], and 57,800 for major complications [1.4% with major complications]. The top-performing models, which were the ones built with the Random Forest algorithm, yielded mean AUROCs of 0.776, 0.846, 0.775, and 0.747 for predicting prolonged LOS, non-home discharges, readmissions, and complications, respectively.

Conclusions: Our study employs advanced ML methodologies to enhance the prediction of adverse postoperative outcomes following ACDF. We designed an accessible web application to integrate these models into clinical practice. Our findings affirm that ML tools serve as vital supplements in risk stratification, facilitating the prediction of diverse outcomes and enhancing patient counseling for ACDF.

Keywords: ACDF; Artificial intelligence; Machine learning; Outcome prediction; Personalized medicine; Precision medicine; Spine surgery; Web application.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Methodology flowchart
Fig. 2
Fig. 2
Patient selection flowchart
Fig. 3
Fig. 3
Algorithms’ radar plots for the outcomes (A) prolonged length of stay, (B) non-home discharges, (C) 30-day readmissions, and (D) major complications
Fig. 4
Fig. 4
Algorithms’ receiver operating characteristics for the outcomes (A) prolonged length of stay, (B) non-home discharges, (C) 30-day readmissions, and (D) major complications
Fig. 5
Fig. 5
Algorithms’ precision-recall curves for the outcome (A) prolonged length of stay, (B) non-home discharges, (C) 30-day readmissions, and (D) major complications
Fig. 6
Fig. 6
The 15 most important features and their mean SHAP values for the model predicting the outcome (A) prolonged length of stay with the Random Forest algorithm, (B) non-home discharges with the Random Forest algorithm, (C) 30-day readmissions with the Random Forest algorithm, and (D) major complications with the Random Forest algorithm

Similar articles

Cited by

References

    1. Marawar S, Girardi FP, Sama AA, Ma Y, Gaber-Baylis LK, Besculides MC, et al. National trends in Anterior Cervical Fusion procedures. Spine. 2010;35:1454–9. doi: 10.1097/BRS.0b013e3181bef3cb. - DOI - PubMed
    1. Saifi C, Fein AW, Cazzulino A, Lehman RA, Phillips FM, An HS, et al. Trends in resource utilization and rate of cervical disc arthroplasty and anterior cervical discectomy and fusion throughout the United States from 2006 to 2013. Spine J. 2018;18:1022–9. doi: 10.1016/j.spinee.2017.10.072. - DOI - PubMed
    1. Wang T, Wang H, Liu S, An H-D, Liu H, Ding W-Y. Anterior cervical discectomy and fusion versus anterior cervical corpectomy and fusion in multilevel cervical spondylotic myelopathy: a meta-analysis. Med (Baltim) 2016;95:e5437. doi: 10.1097/MD.0000000000005437. - DOI - PMC - PubMed
    1. Rao RD, Gourab K, David KS. Operative treatment of cervical spondylotic myelopathy. JBJS. 2006;88:1619–40. doi: 10.2106/JBJS.F.00014. - DOI - PubMed
    1. Arrojas A, Jackson JB, Grabowski G. Trends in the treatment of single and multilevel cervical stenosis: a review of the American Board of Orthopaedic Surgery Database. J Bone Joint Surg Am. 2017;99:e99. doi: 10.2106/JBJS.16.01082. - DOI - PubMed