Abstract
Purpose
The purpose of this study was to establish the best prediction model for postoperative nosocomial pulmonary infection through machine learning (ML) and assist physicians to make accurate diagnosis and treatment decisions.
Methods
Patients with spinal cord injury (SCI) who admitted to a general hospital between July 2014 and April 2022 were included in this study. The data were segmented according to the ratio of seven to three, 70% were randomly selected to train the model, and the other 30% were used for testing. We used LASSO regression to screen the variables, and the selected variables were used in the construction of six different ML models. Shapley additive explanations and permutation importance were used to explain the output of the ML models. Finally, sensitivity, specificity, accuracy and area under receiver operating characteristic curve (AUC) were used as the evaluation index of the model.
Results
A total of 870 patients were enrolled in this study, of whom 98 (11.26%) developed pulmonary infection. Seven variables were used for ML model construction and multivariate logistic regression analysis. Among these variables, age, ASIA scale and tracheotomy were found to be the independent risk factors for postoperative nosocomial pulmonary infection in SCI patients. Meanwhile, the prediction model based on RF algorithm performed best in the training and test sets. (AUC = 0.721, accuracy = 0.664, sensitivity = 0.694, specificity = 0.656).
Conclusion
Age, ASIA scale and tracheotomy were the independent risk factors of postoperative nosocomial pulmonary infection in SCI. The prediction model based on RF algorithm had the best performance.
Similar content being viewed by others
References
Kang Y, Ding H, Zhou H, Wei Z, Liu L, Pan D, Feng S (2018) Epidemiology of worldwide spinal cord injury: a literature review. J Neurorestoratol 6:3
Burns SP (2007) Acute respiratory infections in persons with spinal cord injury. Phys Med Rehabil Clin N Am 18:203–216
Michael J, Krause JS, Lammertse DP (1999) Recent trends in mortality and causes of death among persons with spinal cord injury. Arch Phys Med Rehabil 80:1411–1419
Fishburn M, Marino R, Ditunno J Jr (1990) Atelectasis and pneumonia in acute spinal cord injury. Arch Phys Med Rehabil 71:197–200
McKinley W, Meade MA, Kirshblum S, Barnard B (2004) Outcomes of early surgical management versus late or no surgical intervention after acute spinal cord injury. Arch Phys Med Rehabil 85:1818–1825
Wilson JR, Arnold PM, Singh A, Kalsi-Ryan S, Fehlings MG (2012) Clinical prediction model for acute inpatient complications after traumatic cervical spinal cord injury: a subanalysis from the Surgical Timing in Acute Spinal Cord Injury Study. J Neurosurg Spine 17:46–51
Xie Y, Wang Y, Zhou Y, Liu M, Li S, Bao Y, Jiang W, Tang S, Li F, Xue H (2022) A nomogram for predicting acute respiratory failure after cervical traumatic spinal cord injury based on admission clinical findings. Neurocrit Care 36:421–433
Rajkomar A, Dean J, Kohane I (2019) Machine learning in medicine. N Engl J Med 380:1347–1358
Tian H, Ning Z, Zong Z, Liu J, Hu C, Ying H, Li H (2022) Application of machine learning algorithms to predict lymph node metastasis in early gastric cancer. Front Med 8:2822
Wang Z, Li H, Carpenter C, Guan Y (2020) Challenge-enabled machine learning to drug-response prediction. AAPS J 22:1–6
Zhou Z-H (2021) Machine learning. Springer Nature, Berlin
Goecks J, Jalili V, Heiser LM, Gray JW (2020) How machine learning will transform biomedicine. Cell 181:92–101
Cheng Y, Wang F, Zhang P, Hu J (2016) Risk prediction with electronic health records: a deep learning approach. In: Proceedings of the 2016 SIAM international conference on data mining. SIAM. pp 432–440
Liu W, Lee M, Wu S-N, Tong W-L, Li A-A, Sun B-L, Liu ZL, Liu J (2022) Using machine learning methods to predict bone metastases in breast infiltrating ductal carcinoma patients. Front Public Health, 2109
Liu W-C, Li M-X, Qian W-X, Luo Z-W, Liao W-J, Liu Z-L, Liu J-M (2021) Application of machine learning techniques to predict bone metastasis in patients with prostate cancer. Cancer Manag Res 13:8723–8736
Liu WC, Li ZQ, Luo ZW, Liao WJ, Liu ZL, Liu JM (2021) Machine learning for the prediction of bone metastasis in patients with newly diagnosed thyroid cancer. Cancer Med 10:2802–2811
Sauerbrei W, Royston P, Binder H (2007) Selection of important variables and determination of functional form for continuous predictors in multivariable model building. Stat Med 26:5512–5528
Friedman J, Hastie T, Tibshirani R (2010) Regularization paths for generalized linear models via coordinate descent. J Stat Softw 33:1
Kidd AC, McGettrick M, Tsim S, Halligan DL, Bylesjo M, Blyth KG (2018) Survival prediction in mesothelioma using a scalable Lasso regression model: instructions for use and initial performance using clinical predictors. BMJ Open Respir Res 5:e000240
Cao Z, Tang F, Chen C, Zhang C, Guo Y, Lin R, Huang Z, Teng Y, Xie T, Xu Y (2020) Impact of systematic factors on the outbreak outcomes of the novel COVID-19 disease in China: factor analysis study. J Med Internet Res 22:e23853
Hulsen T, Jamuar SS, Moody AR, Karnes JH, Varga O, Hedensted S, Spreafico R, Hafler DA, McKinney EF (2019) From big data to precision medicine. Front med 6:34
Goings JJ, Hammes-Schiffer S (2020) Nonequilibrium dynamics of proton-coupled electron transfer in proton wires: concerted but asynchronous mechanisms. ACS Cent Sci 6:1594–1601
Liu L-P, Zhao Q-Y, Wu J, Luo Y-W, Dong H, Chen Z-W, Gui R, Wang Y-J (2021) Machine learning for the prediction of red blood cell transfusion in patients during or after liver transplantation surgery. Front Med 8:632210
Lundberg SM, Erion G, Chen H, DeGrave A, Prutkin JM, Nair B, Katz R, Himmelfarb J, Bansal N, Lee S-I (2020) From local explanations to global understanding with explainable AI for trees. Nat Mach Intell 2:56–67
Templeman L, Roberts F (2020) Effectiveness of expiratory muscle strength training on expiratory strength, pulmonary function and cough in the adult population: a systematic review. Physiotherapy 106:43–51
Stevens EA, Marsh R, Wilson JA, Sweasey TA, Branch CL Jr, Powers AK (2010) A review of surgical intervention in the setting of traumatic central cord syndrome. Spine J 10:874–880
Tiwari P, Colborn KL, Smith DE, Xing F, Ghosh D, Rosenberg MA (2020) Assessment of a machine learning model applied to harmonized electronic health record data for the prediction of incident atrial fibrillation. JAMA Netw Open 3:e1919396–e1919396
Liu Y, Wang Y, Zhang J (2012) New machine learning algorithm: random forest. In: International conference on information computing and applications. Springer, Berlin, pp 246–252
Li W, Wang J, Liu W, Xu C, Li W, Zhang K, Su S, Li R, Hu Z, Liu Q (2021) Machine learning applications for the prediction of bone cement leakage in percutaneous vertebroplasty. Front Public Health, 2034
Kattan MW, Reuter V, Motzer RJ, Katz J, Russo P (2001) A postoperative prognostic nomogram for renal cell carcinoma. J Urol 166:63–67
Wang Y, Li J, Xia Y, Gong R, Wang K, Yan Z, Wan X, Liu G, Wu D, Shi L (2013) Prognostic nomogram for intrahepatic cholangiocarcinoma after partial hepatectomy. J clin oncol 31:1188–1195
Dong X, Yu Z, Cao W, Shi Y, Ma Q (2020) A survey on ensemble learning. Front Comp Sci 14:241–258
Gupta D, Rani R (2020) Improving malware detection using big data and ensemble learning. Comput Electr Eng 86:106729
Nelson TG, Bowers WF (1957) Tracheotomy—indications, advantages, techniques, complications, and results: analysis of three hundred ten recent operations. J Am Med Assoc 164:1530–1534
Apostolopoulou E, Bakakos P, Katostaras T, Gregorakos L (2003) Incidence and risk factors for ventilator-associated pneumonia in 4 multidisciplinary intensive care units in Athens, Greece. Respir Care 48:681–688
Ibrahim EH, Tracy L, Hill C, Fraser VJ, Kollef MH (2001) The occurrence of ventilator-associated pneumonia in a community hospital: risk factors and clinical outcomes. Chest 120:555–561
Acknowledgements
This work is supported by the Key Research and Development Program of Jiangxi Province, China (No.20223BBG71S02), the central government guides local funds for scientific and technological development (No. 20222ZDH04095) and “Double Thousand Plan” Talent Project of Jiangxi Province, China.
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
Conflict of interest
No benefits in any form have been or will be received from any commercial party related to the subject of this manuscript.
Ethics approval and consent to participate
This study was approved by the Ethics Committee of the First Affiliated Hospital of Nanchang University, and cases from the First Affiliated Hospital of Nanchang University signed a written informed consent form.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Li, MP., Liu, WC., Wu, JB. et al. Machine learning for the prediction of postoperative nosocomial pulmonary infection in patients with spinal cord injury. Eur Spine J 32, 3825–3835 (2023). https://doi.org/10.1007/s00586-023-07772-8
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00586-023-07772-8