Skip to main content
Top
Published in: Journal of Orthopaedic Surgery and Research 1/2024

Open Access 01-12-2024 | Research article

Ensemble learning-assisted prediction of prolonged hospital length of stay after spine correction surgery: a multi-center cohort study

Authors: Wenle Li, Yusi Zhang, Xin Zhou, Xubin Quan, Binghao Chen, Xuewen Hou, Qizhong Xu, Weiheng He, Liang Chen, Xiaozhu Liu, Yang Zhang, Tianyu Xiang, Runmin Li, Qiang Liu, Shi-Nan Wu, Kai Wang, Wencai Liu, Jialiang Zheng, Haopeng Luan, Xiaolin Yu, Anfa Chen, Chan Xu, Tongqing Luo, Zhaohui Hu

Published in: Journal of Orthopaedic Surgery and Research | Issue 1/2024

Login to get access

Abstract

Purpose

This research aimed to develop a machine learning model to predict the potential risk of prolonged length of stay in hospital before operation, which can be used to strengthen patient management.

Methods

Patients who underwent posterior spinal deformity surgery (PSDS) from eleven medical institutions in China between 2015 and 2022 were included. Detailed preoperative patient data, including demographics, medical history, comorbidities, preoperative laboratory results, and surgery details, were collected from their electronic medical records. The cohort was randomly divided into a training dataset and a validation dataset with a ratio of 70:30. Based on Boruta algorithm, nine different machine learning algorithms and a stack ensemble model were trained after hyperparameters tuning visualization and evaluated on the area under the receiver operating characteristic curve (AUROC), precision-recall curve, calibration, and decision curve analysis. Visualization of Shapley Additive exPlanations method finally contributed to explaining model prediction.

Results

Of the 162 included patients, the K Nearest Neighbors algorithm performed the best in the validation group compared with other machine learning models (yielding an AUROC of 0.8191 and PRAUC of 0.6175). The top five contributing variables were the preoperative hemoglobin, height, body mass index, age, and preoperative white blood cells. A web-based calculator was further developed to improve the predictive model's clinical operability.

Conclusions

Our study established and validated a clinical predictive model for prolonged postoperative hospitalization duration in patients who underwent PSDS, which offered valuable prognostic information for preoperative planning and postoperative care for clinicians.
Trial registration ClinicalTrials.gov identifier NCT05867732, retrospectively registered May 22, 2023, https://​classic.​clinicaltrials.​gov/​ct2/​show/​NCT05867732.
Appendix
Available only for authorised users
Literature
1.
go back to reference Smith JS, Shaffrey CI, Bess S, Shamji MF, Brodke D, Lenke LG, et al. Recent and emerging advances in spinal deformity. Neurosurgery. 2017;80(3S):S70–85.CrossRefPubMed Smith JS, Shaffrey CI, Bess S, Shamji MF, Brodke D, Lenke LG, et al. Recent and emerging advances in spinal deformity. Neurosurgery. 2017;80(3S):S70–85.CrossRefPubMed
2.
go back to reference Ailon T, Smith JS, Shaffrey CI, Lenke LG, Brodke D, Harrop JS, et al. Degenerative spinal deformity. Neurosurgery. 2015;77(Suppl 4):S75-91.CrossRefPubMed Ailon T, Smith JS, Shaffrey CI, Lenke LG, Brodke D, Harrop JS, et al. Degenerative spinal deformity. Neurosurgery. 2015;77(Suppl 4):S75-91.CrossRefPubMed
3.
go back to reference Diebo BG, Shah NV, Boachie-Adjei O, Zhu F, Rothenfluh DA, Paulino CB, et al. Adult spinal deformity. Lancet. 2019;394(10193):160–72.CrossRefPubMed Diebo BG, Shah NV, Boachie-Adjei O, Zhu F, Rothenfluh DA, Paulino CB, et al. Adult spinal deformity. Lancet. 2019;394(10193):160–72.CrossRefPubMed
4.
go back to reference Silva FE, Lenke LG. Adult degenerative scoliosis: evaluation and management. Neurosurg Focus. 2010;28(3):E1.CrossRefPubMed Silva FE, Lenke LG. Adult degenerative scoliosis: evaluation and management. Neurosurg Focus. 2010;28(3):E1.CrossRefPubMed
5.
go back to reference Yoshida G, Boissiere L, Larrieu D, Bourghli A, Vital JM, Gille O, et al. Advantages and disadvantages of adult spinal deformity surgery and its impact on health-related quality of life. Spine (Phila Pa 1976). 2017;42(6):411–9. Yoshida G, Boissiere L, Larrieu D, Bourghli A, Vital JM, Gille O, et al. Advantages and disadvantages of adult spinal deformity surgery and its impact on health-related quality of life. Spine (Phila Pa 1976). 2017;42(6):411–9.
6.
go back to reference Development of an Enhanced Recovery After Surgery (ERAS) approach for lumbar spinal fusion. J Neurosurg Spine. 2017;26(4):411–8. Development of an Enhanced Recovery After Surgery (ERAS) approach for lumbar spinal fusion. J Neurosurg Spine. 2017;26(4):411–8.
7.
go back to reference Tomov M, Mitsunaga L, Durbin-Johnson B, Nallur D, Roberto R. Reducing surgical site infection in spinal surgery with betadine irrigation and intrawound vancomycin powder. Spine (Phila Pa 1976). 2015;40(7):491–9. Tomov M, Mitsunaga L, Durbin-Johnson B, Nallur D, Roberto R. Reducing surgical site infection in spinal surgery with betadine irrigation and intrawound vancomycin powder. Spine (Phila Pa 1976). 2015;40(7):491–9.
8.
go back to reference Xu N, Zhang Y, Tian Y, Li B, Qiao H, Zhang X, et al. Prospective study of preoperative autologous blood donation for patients with high risk of allogeneic blood transfusion in lumbar fusion surgery: a study protocol of a randomised controlled trial. BMJ Open. 2022;12(2):e053846.CrossRefPubMedPubMedCentral Xu N, Zhang Y, Tian Y, Li B, Qiao H, Zhang X, et al. Prospective study of preoperative autologous blood donation for patients with high risk of allogeneic blood transfusion in lumbar fusion surgery: a study protocol of a randomised controlled trial. BMJ Open. 2022;12(2):e053846.CrossRefPubMedPubMedCentral
9.
go back to reference Elsamadicy AA, Koo AB, Kundishora AJ, Chouairi F, Lee M, Hengartner AC, et al. Impact of patient and hospital-level risk factors on extended length of stay following spinal fusion for adolescent idiopathic scoliosis. J Neurosurg Pediatr. 2019:1–7. Elsamadicy AA, Koo AB, Kundishora AJ, Chouairi F, Lee M, Hengartner AC, et al. Impact of patient and hospital-level risk factors on extended length of stay following spinal fusion for adolescent idiopathic scoliosis. J Neurosurg Pediatr. 2019:1–7.
10.
go back to reference Boylan MR, Riesgo AM, Chu A, Paulino CB, Feldman DS. Costs and complications of increased length of stay following adolescent idiopathic scoliosis surgery. J Pediatr Orthop B. 2019;28(1):27–31.CrossRefPubMed Boylan MR, Riesgo AM, Chu A, Paulino CB, Feldman DS. Costs and complications of increased length of stay following adolescent idiopathic scoliosis surgery. J Pediatr Orthop B. 2019;28(1):27–31.CrossRefPubMed
11.
go back to reference Pitter FT, Lindberg-Larsen M, Pedersen AB, Dahl B, Gehrchen M. Readmissions, length of stay, and mortality after primary surgery for adult spinal deformity: a 10-year danish nationwide cohort study. Spine (Phila Pa 1976). 2019;44(2):E107–E16. Pitter FT, Lindberg-Larsen M, Pedersen AB, Dahl B, Gehrchen M. Readmissions, length of stay, and mortality after primary surgery for adult spinal deformity: a 10-year danish nationwide cohort study. Spine (Phila Pa 1976). 2019;44(2):E107–E16.
12.
go back to reference Klineberg EO, Passias PG, Jalai CM, Worley N, Sciubba DM, Burton DC, et al. Predicting extended length of hospital stay in an adult spinal deformity surgical population. Spine (Phila Pa 1976). 2016;41(13):E798–E805. Klineberg EO, Passias PG, Jalai CM, Worley N, Sciubba DM, Burton DC, et al. Predicting extended length of hospital stay in an adult spinal deformity surgical population. Spine (Phila Pa 1976). 2016;41(13):E798–E805.
13.
go back to reference Sciubba D, Jain A, Kebaish KM, Neuman BJ, Daniels AH, Passias PG, et al. Development of a preoperative adult spinal deformity comorbidity score that correlates with common quality and value metrics: length of stay, major complications, and patient-reported outcomes. Global Spine J. 2021;11(2):146–53.CrossRefPubMed Sciubba D, Jain A, Kebaish KM, Neuman BJ, Daniels AH, Passias PG, et al. Development of a preoperative adult spinal deformity comorbidity score that correlates with common quality and value metrics: length of stay, major complications, and patient-reported outcomes. Global Spine J. 2021;11(2):146–53.CrossRefPubMed
14.
go back to reference Fruergaard S, Ohrt-Nissen S, Pitter FT, Hoy K, Lindberg-Larsen M, Eiskjaer S, et al. Length of stay, readmission, and mortality after primary surgery for pediatric spinal deformities: a 10-year nationwide cohort study. Spine J. 2021;21(4):653–63.CrossRefPubMed Fruergaard S, Ohrt-Nissen S, Pitter FT, Hoy K, Lindberg-Larsen M, Eiskjaer S, et al. Length of stay, readmission, and mortality after primary surgery for pediatric spinal deformities: a 10-year nationwide cohort study. Spine J. 2021;21(4):653–63.CrossRefPubMed
15.
go back to reference Zhang AS, Veeramani A, Quinn MS, Alsoof D, Kuris EO, Daniels AH. Machine learning prediction of length of stay in adult spinal deformity patients undergoing posterior spine fusion surgery. J Clin Med. 2021;10(18). Zhang AS, Veeramani A, Quinn MS, Alsoof D, Kuris EO, Daniels AH. Machine learning prediction of length of stay in adult spinal deformity patients undergoing posterior spine fusion surgery. J Clin Med. 2021;10(18).
16.
go back to reference Li M, Zeng M, Zhang H, Chen H, Guan L. Biological activity predictions of ligands based on hybrid molecular fingerprinting and ensemble learning. ACS Omega. 2023;8(6):5561–70.CrossRefPubMedPubMedCentral Li M, Zeng M, Zhang H, Chen H, Guan L. Biological activity predictions of ligands based on hybrid molecular fingerprinting and ensemble learning. ACS Omega. 2023;8(6):5561–70.CrossRefPubMedPubMedCentral
17.
go back to reference Collins GS, Reitsma JB, Altman DG, Moons KG. Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement. BMJ. 2015;350:g7594.CrossRefPubMed Collins GS, Reitsma JB, Altman DG, Moons KG. Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement. BMJ. 2015;350:g7594.CrossRefPubMed
18.
go back to reference Kursa MB, Rudnicki WR. Feature selection with the boruta package. J Stat Softw. 2010;36(11):1–13.CrossRef Kursa MB, Rudnicki WR. Feature selection with the boruta package. J Stat Softw. 2010;36(11):1–13.CrossRef
19.
go back to reference Chicco D, Jurman G. The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genomics. 2020;21(1):6.CrossRefPubMedPubMedCentral Chicco D, Jurman G. The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genomics. 2020;21(1):6.CrossRefPubMedPubMedCentral
21.
go back to reference Wang XZ, Buontempo FV, Young A, Osborn D. Induction of decision trees using genetic programming for modelling ecotoxicity data: adaptive discretization of real-valued endpoints. SAR QSAR Environ Res. 2006;17(5):451–71.CrossRefPubMed Wang XZ, Buontempo FV, Young A, Osborn D. Induction of decision trees using genetic programming for modelling ecotoxicity data: adaptive discretization of real-valued endpoints. SAR QSAR Environ Res. 2006;17(5):451–71.CrossRefPubMed
22.
go back to reference Gong CC, Zhou M, Hu Y, Ren ZY, Ren JY, Yao MJ. Elastic net-based identification of GAMT as potential diagnostic marker for early-stage gastric cancer. Biochem Bioph Res Co. 2022;591:7–12.CrossRef Gong CC, Zhou M, Hu Y, Ren ZY, Ren JY, Yao MJ. Elastic net-based identification of GAMT as potential diagnostic marker for early-stage gastric cancer. Biochem Bioph Res Co. 2022;591:7–12.CrossRef
24.
go back to reference Yan J, Xu YT, Cheng Q, Jiang SQ, Wang Q, Xiao YJ, et al. LightGBM: accelerated genomically designed crop breeding through ensemble learning. Genome Biol. 2021;22(1). Yan J, Xu YT, Cheng Q, Jiang SQ, Wang Q, Xiao YJ, et al. LightGBM: accelerated genomically designed crop breeding through ensemble learning. Genome Biol. 2021;22(1).
25.
go back to reference Wang C, Zhang Y. Improving scoring-docking-screening powers of protein-ligand scoring functions using random forest. J Comput Chem. 2017;38(3):169–77.CrossRefPubMed Wang C, Zhang Y. Improving scoring-docking-screening powers of protein-ligand scoring functions using random forest. J Comput Chem. 2017;38(3):169–77.CrossRefPubMed
26.
go back to reference Olson RS, Cava W, Mustahsan Z, Varik A, Moore JH. Data-driven advice for applying machine learning to bioinformatics problems. Pac Symp Biocomput. 2018;23:192–203.PubMedPubMedCentral Olson RS, Cava W, Mustahsan Z, Varik A, Moore JH. Data-driven advice for applying machine learning to bioinformatics problems. Pac Symp Biocomput. 2018;23:192–203.PubMedPubMedCentral
27.
go back to reference Wang HJ, Shao YH, Zhou SL, Zhang C, Xiu NH. Support vector machine classifier via L-0/1 soft-margin loss. IEEE Trans Pattern Anal. 2022;44(10):7253–65.CrossRef Wang HJ, Shao YH, Zhou SL, Zhang C, Xiu NH. Support vector machine classifier via L-0/1 soft-margin loss. IEEE Trans Pattern Anal. 2022;44(10):7253–65.CrossRef
28.
go back to reference Bishop C. Improving the generalization properties of radial basis function neural networks. Neural Comput. 1991;3(4):579–88.CrossRefPubMed Bishop C. Improving the generalization properties of radial basis function neural networks. Neural Comput. 1991;3(4):579–88.CrossRefPubMed
29.
30.
go back to reference Hare GMT, Mazer CD. Anemia: perioperative risk and treatment opportunity. Anesthesiology. 2021;135(3):520–30.CrossRefPubMed Hare GMT, Mazer CD. Anemia: perioperative risk and treatment opportunity. Anesthesiology. 2021;135(3):520–30.CrossRefPubMed
31.
go back to reference Amponsah G, Charwudzi A. Preoperative anaemia and associated postoperative outcomes in noncardiac surgery patients in central Region of Ghana. Anesthesiol Res Pract. 2017;2017:7410960.PubMedPubMedCentral Amponsah G, Charwudzi A. Preoperative anaemia and associated postoperative outcomes in noncardiac surgery patients in central Region of Ghana. Anesthesiol Res Pract. 2017;2017:7410960.PubMedPubMedCentral
32.
go back to reference Barrios C, Cortes S, Perez-Encinas C, Escriva MD, Benet I, Burgos J, et al. Anthropometry and body composition profile of girls with nonsurgically treated adolescent idiopathic scoliosis. Spine (Phila Pa 1976). 2011;36(18):1470–7. Barrios C, Cortes S, Perez-Encinas C, Escriva MD, Benet I, Burgos J, et al. Anthropometry and body composition profile of girls with nonsurgically treated adolescent idiopathic scoliosis. Spine (Phila Pa 1976). 2011;36(18):1470–7.
33.
go back to reference Esbjornsson AC, Naili JE. Functional movement compensations persist in individuals with hip osteoarthritis performing the five times sit-to-stand test 1 year after total hip arthroplasty. J Orthop Surg Res. 2020;15(1):151.CrossRefPubMedPubMedCentral Esbjornsson AC, Naili JE. Functional movement compensations persist in individuals with hip osteoarthritis performing the five times sit-to-stand test 1 year after total hip arthroplasty. J Orthop Surg Res. 2020;15(1):151.CrossRefPubMedPubMedCentral
34.
go back to reference Huang Y, Lou X, Jiang C, Ji X, Tao X, Sun J, et al. Gut microbiota is correlated with gastrointestinal adverse events of metformin in patients with type 2 diabetes. Front Endocrinol (Lausanne). 2022;13:1044030.CrossRefPubMed Huang Y, Lou X, Jiang C, Ji X, Tao X, Sun J, et al. Gut microbiota is correlated with gastrointestinal adverse events of metformin in patients with type 2 diabetes. Front Endocrinol (Lausanne). 2022;13:1044030.CrossRefPubMed
Metadata
Title
Ensemble learning-assisted prediction of prolonged hospital length of stay after spine correction surgery: a multi-center cohort study
Authors
Wenle Li
Yusi Zhang
Xin Zhou
Xubin Quan
Binghao Chen
Xuewen Hou
Qizhong Xu
Weiheng He
Liang Chen
Xiaozhu Liu
Yang Zhang
Tianyu Xiang
Runmin Li
Qiang Liu
Shi-Nan Wu
Kai Wang
Wencai Liu
Jialiang Zheng
Haopeng Luan
Xiaolin Yu
Anfa Chen
Chan Xu
Tongqing Luo
Zhaohui Hu
Publication date
01-12-2024
Publisher
BioMed Central
Published in
Journal of Orthopaedic Surgery and Research / Issue 1/2024
Electronic ISSN: 1749-799X
DOI
https://doi.org/10.1186/s13018-024-04576-4

Other articles of this Issue 1/2024

Journal of Orthopaedic Surgery and Research 1/2024 Go to the issue