| Literature DB >> 35389380 |
Rodney A Gabriel1,2,3, Bhavya Harjai3, Sierra Simpson4, Nicole Goldhaber5, Brian P Curran1, Ruth S Waterman1.
Abstract
BACKGROUND: Days before surgery, add-ons may be scheduled to fill unused surgical block time at an outpatient surgery center. At times, outpatient surgery centers have time limitations for end of block time and discharge from the postanesthesia care unit (PACU). The objective of our study was to develop machine learning models that predicted the following composite outcome: (1) surgery finished by end of operating room block time and (2) patient was discharged by end of recovery room nursing shift. We compared various machine learning models to logistic regression. By evaluating various performance metrics, including F1 scores, we hypothesized that models using ensemble learning will be superior to logistic regression.Entities:
Mesh:
Year: 2022 PMID: 35389380 PMCID: PMC9172889 DOI: 10.1213/ANE.0000000000006015
Source DB: PubMed Journal: Anesth Analg ISSN: 0003-2999 Impact factor: 6.627
Figure 1.Overview of study methodology. A, An illustration of the study design describing the use of machine learning to predict the outcome (defined as surgery ending by 5 pm and patient discharged from recovery room by 7 pm). Each model was based on whether the start time of the surgery was 1 pm, 2 pm, 3 pm, or 4 pm. B, Data pipeline. OR indicates operating room; PACU, postanesthesia care unit; ROC, receiver operating characteristic; SMOTE, synthetic minority oversampling technique.
Distribution of Data. This Includes All Features Included in the Model Except for Actual Surgical Procedure and Surgeon Identification
| Characteristic | All cases | |
|---|---|---|
| n | % | |
| Total | 13,447 | |
| Service line | ||
| Other | 1183 | 8.8 |
| Breast surgery | 866 | 6.4 |
| Colorectal surgery | 1203 | 8.9 |
| Ears nose and throat | 1766 | 13.1 |
| Minimally invasive surgery | 745 | 5.5 |
| Obstetrics and gynecology | 1904 | 14.2 |
| Orthopedic surgery | 4843 | 36.0 |
| Urology | 937 | 7.0 |
| ASA PS ≥ 3 (%) | 2895 | 21.5 |
| Age (y)–mean (SD) | 49.4 (16.6) | |
| Male sex (%) | 5409 | 40.2 |
| Weight (kg)–mean (SD) | 79.0 (19.2) | |
| Number of cases in the operating room–median (quartiles) | 5 (4–7) | |
| Number of times surgeon performed surgery–median (quartiles) | 38 (11–96) | |
| Scheduled incision time (min)–median (quartiles) | 60 (33–90) | |
| Scheduled room time (min)–median (quartiles) | 65 (40–95) | |
| Actual room time (min)–median (quartiles) | 74.5 (49–113) | |
| PACU length of stay (min)–median (quartiles) | 84 (63–112) | |
| Total perioperative time (room + PACU min)–median (quartiles) | 165 (122–225) | |
Abbreviations: ASA PS, American Society of Anesthesiologists Physical Status; PACU, postanesthesia care unit; SD, standard deviation.
Figure 2.AUC for 6 separate models: logistic regression, multilayer perceptron neural network classifier, balanced random forest, balanced bagging classifier, random forest classifier, and support vector classifier. The models were implemented to predict the outcome for when a procedure will start at: A, 1 pm; B, 2 pm; C, 3 pm; or D, 4 pm. AUC indicates area under the receiver operating characteristic curve; SVC, support vector classifier.
Figure 3.Feature importance graph of 11 features based on the balanced bagging approach. ASA indicates American Society of Anesthesiologists.
Average Performance Metrics (Precision, Recall, MCC, Cohen’s Kappa, Sensitivity, Specificity, and AUC) for Each Machine Learning Modeling Predicting Surgery Ending by 5 pm and Patient Discharged From PACU by 7 pm Based on 1 pm, 2 pm, 3 pm, or 4 pm Start
| 1 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without SMOTE | With SMOTE | |||||||||||
| Classifier | Precision | Recall | MCC | Sensitivity | Specificity | AUC | Precision | Recall | MCC | Sensitivity | Specificity | AUC |
| Logistic regression | 0.956 | 0.996 | 0.152 | 0.996 | 0.064 | 0.809 | 0.986 | 0.784 | 0.269 | 0.784 | 0.766 | 0.829 |
| Balanced random forest classifier | 0.991 | 0.855 | 0.378 | 0.855 | 0.832 | 0.913 | 0.979 | 0.974 | 0.516 | 0.984 | 0.564 | 0.919 |
| Balanced bagging classifier | 0.991 | 0.882 | 0.414 | 0.883 | 0.824 | 0.919 | 0.981 | 0.979 | 0.555 | 0.978 | 0.583 | 0.928 |
| Random forest classifier | 0.968 | 0.996 | 0.480 | 0.996 | 0.309 | 0.929 | 0.979 | 0.974 | 0.517 | 0.974 | 0.569 | 0.919 |
| Multilayer perceptron neural network | 0.959 | 0.994 | 0.231 | 0.996 | 0.123 | 0.844 | 0.984 | 0.838 | 0.295 | 0.838 | 0.711 | 0.847 |
| Support vector classifier | 0.956 | 0.998 | 0.149 | 0.998 | 0.049 | 0.724 | 0.844 | 0.849 | 0.327 | 0.848 | 0.751 | 0.858 |
| 2 | ||||||||||||
| Without SMOTE | With SMOTE | |||||||||||
| Classifier | Precision | Recall | MCC | Sensitivity | Specificity | AUC | Precision | Recall | MCC | Sensitivity | Specificity | AUC |
| Logistic regression | 0.909 | 0.982 | 0.327 | 0.982 | 0.222 | 0.798 | 0.950 | 0.766 | 0.317 | 0.766 | 0.685 | 0.796 |
| Balanced random forest classifier | 0.972 | 0.832 | 0.476 | 0.832 | 0.811 | 0.899 | 0.952 | 0.952 | 0.576 | 0.952 | 0.625 | 0.903 |
| Balanced bagging classifier | 0.969 | 0.870 | 0.512 | 0.870 | 0.782 | 0.905 | 0.953 | 0.961 | 0.604 | 0.961 | 0.624 | 0.912 |
| Random forest classifier | 0.933 | 0.982 | 0.543 | 0.982 | 0.445 | 0.909 | 0.952 | 0.951 | 0.572 | 0.951 | 0.622 | 0.901 |
| Multilayer perceptron neural network | 0.912 | 0.980 | 0.352 | 0.980 | 0.253 | 0.824 | 0.953 | 0.800 | 0.358 | 0.800 | 0.691 | 0.828 |
| Support vector classifier | 0.914 | 0.981 | 0.381 | 0.981 | 0.275 | 0.769 | 0.961 | 0.814 | 0.405 | 0.814 | 0.739 | 0.840 |
| 3 | ||||||||||||
| Without SMOTE | With SMOTE | |||||||||||
| Classifier | Precision | Recall | MCC | Sensitivity | Specificity | AUC | Precision | Recall | MCC | Sensitivity | Specificity | AUC |
| Logistic regression | 0.888 | 0.970 | 0.433 | 0.970 | 0.353 | 0.822 | 0.935 | 0.780 | 0.394 | 0.780 | 0.713 | 0.816 |
| Balanced random forest classifier | 0.963 | 0.815 | 0.524 | 0.815 | 0.835 | 0.910 | 0.937 | 0.941 | 0.609 | 0.941 | 0.661 | 0.910 |
| Balanced bagging classifier | 0.961 | 0.853 | 0.563 | 0.853 | 0.816 | 0.916 | 0.936 | 0.952 | 0.632 | 0.952 | 0.656 | 0.919 |
| Random forest classifier | 0.918 | 0.975 | 0.608 | 0.975 | 0.539 | 0.918 | 0.937 | 0.941 | 0.611 | 0.941 | 0.664 | 0.910 |
| Multilayer perceptron neural network | 0.891 | 0.971 | 0.448 | 0.971 | 0.365 | 0.847 | 0.938 | 0.805 | 0.427 | 0.805 | 0.716 | 0.846 |
| Support vector classifier | 0.886 | 0.980 | 0.447 | 0.980 | 0.329 | 0.809 | 0.952 | 0.783 | 0.453 | 0.783 | 0.789 | 0.855 |
| 4 | ||||||||||||
| Without SMOTE | With SMOTE | |||||||||||
| Classifier | Precision | Recall | MCC | Sensitivity | Specificity | AUC | Precision | Recall | MCC | Sensitivity | Specificity | AUC |
| Logistic regression | 0.674 | 0.588 | 0.449 | 0.588 | 0.846 | 0.821 | 0.736 | 0.764 | 0.465 | 0.764 | 0.720 | 0.809 |
| Balanced random forest classifier | 0.701 | 0.833 | 0.620 | 0.833 | 0.808 | 0.900 | 0.829 | 0.775 | 0.632 | 0.775 | 0.861 | 0.901 |
| Balanced bagging classifier | 0.726 | 0.817 | 0.634 | 0.817 | 0.832 | 0.903 | 0.837 | 0.773 | 0.642 | 0.773 | 0.871 | 0.905 |
| Random forest classifier | 0.779 | 0.732 | 0.629 | 0.732 | 0.887 | 0.902 | 0.829 | 0.774 | 0.629 | 0.774 | 0.860 | 0.901 |
| Multilayer perceptron neural network | 0.699 | 0.640 | 0.501 | 0.640 | 0.849 | 0.843 | 0.771 | 0.794 | 0.523 | 0.794 | 0.749 | 0.849 |
| Support vector classifier | 0.708 | 0.670 | 0.527 | 0.670 | 0.850 | 0.844 | 0.767 | 0.817 | 0.534 | 0.817 | 0.740 | 0.846 |
Abbreviations: AUC, area under the receiver operating characteristic curve; MCC, Matthews correlation coefficient; PACU, postanesthesia care unit; SMOTE, synthetic minority oversampling technique.
Figure 4.The F1 score (calculated by k-folds cross-validation) for each machine learning approach predicting whether booking a surgical procedure at 1 pm, 2 pm, 3 pm, or 4 pm will lead to surgery ending by 5 pm and patient discharged from recovery room by 7 pm (solid lines, SMOTE; dotted lines, no SMOTE). PACU indicates postanesthesia care unit; SMOTE, synthetic minority oversampling technique.