Using machine learning methods to predict nonhome discharge after elective total shoulder arthroplasty
Cesar D. Lopez, Michael Constant, Matthew J. Anderson, Jamie Confino, John T. Heffernan, Charles M. Jobin
Abstract
BACKGROUND: Machine learning has shown potential in accurately predicting outcomes after orthopedic surgery, thereby allowing for improved patient selection, risk stratification, and preoperative planning. This study sought to develop machine learning models to predict nonhome discharge after total shoulder arthroplasty (TSA). METHODS: The American College of Surgeons National Surgical Quality Improvement Program database was queried for patients who underwent elective TSA from 2012 to 2018. Boosted decision tree and artificial neural networks (ANN) machine learning models were developed to predict non-home discharge and 30-day postoperative complications. Model performance was measured using the area under the receiver operating characteristic curve (AUC) and overall accuracy (%). Multivariate binary logistic regression analyses were used to identify variables that were significantly associated with the predicted outcomes. RESULTS: < .001). The boosted decision tree model for predicting nonhome discharge had an AUC of 0.788 and an overall accuracy of 90.3%. The ANN model for predicting nonhome discharge had an AUC of 0.851 and an overall accuracy of 89.9%. For predicting the occurrence of 1 or more postoperative complications, the boosted decision tree model had an AUC of 0.795 and an overall accuracy of 95.5%. The ANN model yielded an AUC of 0.788 and an overall accuracy of 92.5%. CONCLUSIONS: Both the boosted decision tree and ANN models performed well in predicting nonhome discharge with similar overall accuracy, but the ANN had higher discriminative ability. Based on the findings of this study, machine learning has the potential to accurately predict nonhome discharge after elective TSA. Surgeons can use such tools to guide patient expectations and to improve preoperative discharge planning, with the ultimate goal of decreasing hospital length of stay and improving cost-efficiency.