Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Scientific Reports
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. scientific reports
  3. articles
  4. article
Explainable machine learning prediction of tracheostomy after craniotomy for supratentorial intracerebral hemorrhage
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 01 March 2026

Explainable machine learning prediction of tracheostomy after craniotomy for supratentorial intracerebral hemorrhage

  • Feiyu Qiao1,
  • Xin Xue2,
  • Huanhuan Yu2,
  • Yanrui Cai1,
  • Di Tian1,
  • Yuting Wang1,
  • Qi Liu1 &
  • …
  • Quancai Li  ORCID: orcid.org/0009-0005-6501-57851 

Scientific Reports , Article number:  (2026) Cite this article

  • 1190 Accesses

  • 1 Altmetric

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Diseases
  • Medical research
  • Neurology
  • Neuroscience
  • Risk factors

Abstract

Accurate prediction of tracheostomy after craniotomy for supratentorial intracerebral hemorrhage (sICH) remains challenging. This study aimed to develop, externally validate, and interpret a machine learning model for individualized risk prediction. A retrospective multicenter cohort was constructed, including 738 patients from Weifang People’s Hospital and 186 from Weifang Hospital of Traditional Chinese Medicine who underwent craniotomy between January 2017 and December 2024. Predictor variables were screened using least absolute shrinkage and selection operator (LASSO) and multivariate logistic regression. Logistic regression, random forest, and extreme gradient boosting (XGBoost) models were trained with repeated 10-fold cross-validation and assessed for discrimination, calibration, and clinical utility. Five key predictors were identified: Glasgow Coma Scale, age, hematoma volume, operative time, and serum bicarbonate. In external validation, XGBoost demonstrated the most balanced and robust performance, with an AUROC of 0.86 and a Brier score of 0.15, and showed superior net benefit on decision curve analysis. SHapley Additive exPlanations confirmed clinical plausibility, and a web-based dynamic nomogram was developed for individualized prediction. This explainable XGBoost model provides reliable and interpretable estimation of postoperative tracheostomy risk, facilitating evidence-based perioperative decision-making and resource allocation in neurocritical care.

Similar content being viewed by others

Prehospital stroke-scale machine-learning model predicts the need for surgical intervention

Article Open access 05 June 2023

Development and validation of an interpretable prediction model for the risk of unplanned reoperation in patients underwent intracranial tumor surgery

Article Open access 21 March 2026

A cost-sensitive multiclass machine learning framework for postoperative neurosurgical triage (Neuro-TACTIC)

Article Open access 24 March 2026

Data availability

The datasets analyzed during the current study are not publicly available due to institutional data-use regulations and patient confidentiality policies. De-identified data and analytic code are available from the corresponding author upon reasonable request and approval by the participating institutions.

References

  1. Bösel, J. Use and Timing of Tracheostomy After Severe Stroke. Stroke 48, 2638–2643 (2017).

    Google Scholar 

  2. Lais, G. & Piquilloud, L. Tracheostomy: Update on why, when and how. Curr. Opin. Crit. Care 31, 101–107 (2025).

    Google Scholar 

  3. Premraj, L. et al. Tracheostomy timing and outcome in critically ill patients with stroke: A meta-analysis and meta-regression. Crit. Care 27, 132 (2023).

    Google Scholar 

  4. Kurtz, P. et al. How does care differ for neurological patients admitted to a neurocritical care unit versus a general ICU?. Neurocrit. Care 15, 477–480 (2011).

    Google Scholar 

  5. Pelosi, P. et al. Management and outcome of mechanically ventilated neurologic patients. Crit. Care Med. 39, 1482–1492 (2011).

    Google Scholar 

  6. Steidl, C. et al. Tracheostomy, extubation, reintubation: Airway management decisions in intubated stroke patients. Cerebrovasc. Dis. 44, 1–9 (2017).

    Google Scholar 

  7. Abulhasan, Y. B., Teitelbaum, J., Al-Ramadhani, K., Morrison, K. T. & Angle, M. R. Functional outcomes and mortality in patients with intracerebral hemorrhage after intensive medical and surgical support. Neurology 100, e1985–e1995 (2023).

    Google Scholar 

  8. Hoffman, H., Jalal, M. S. & Chin, L. S. Prediction of mortality after evacuation of supratentorial intracerebral hemorrhage using NSQIP data. J. Clin. Neurosci. 77, 148–156 (2020).

    Google Scholar 

  9. Ho, U.-C., Hsieh, C.-J., Lu, H.-Y., Huang, A.-H. & Kuo, L.-T. Predictors of extubation failure and prolonged mechanical ventilation among patients with intracerebral hemorrhage after surgery. Respir. Res. 25, 19 (2024).

    Google Scholar 

  10. Hu, X. et al. Surgical outcomes from haematoma evacuation for intracerebral haemorrhage in the INTERACT3 study. Lancet Reg. Health - Western Pac. 62, 101669 (2025).

    Google Scholar 

  11. Yu, Z. et al. Chinese multidisciplinary guideline for management of hypertensive intracerebral hemorrhage. Chin. Med. J. (Engl.) 135, 2269–2271 (2022).

    Google Scholar 

  12. Schönenberger, S., Al-Suwaidan, F., Kieser, M., Uhlmann, L. & Bösel, J. The SETscore to predict tracheostomy need in cerebrovascular neurocritical care patients. Neurocrit. Care 25, 94–104 (2016).

    Google Scholar 

  13. Szeder, V., Ortega-Gutierrez, S., Ziai, W. & Torbey, M. T. The TRACH score: Clinical and radiological predictors of tracheostomy in supratentorial spontaneous intracerebral hemorrhage. Neurocrit. Care 13, 40–46 (2010).

    Google Scholar 

  14. Rass, V. et al. Factors associated with prolonged mechanical ventilation in patients with subarachnoid hemorrhage—the RAISE score*. Crit. Care Med. 50, 103 (2022).

    Google Scholar 

  15. Chen, X.-Y. et al. A nomogram for predicting the need of postoperative tracheostomy in patients with aneurysmal subarachnoid hemorrhage. Front. Neurol. 12, 711468 (2021).

    Google Scholar 

  16. Zhang, Z. et al. Prediction of microvascular obstruction from angio-based microvascular resistance and available clinical data in percutaneous coronary intervention: An explainable machine learning model. Sci. Rep. 15, 3045 (2025).

    Google Scholar 

  17. Ballı, M., Dogan, A. E., Senol, S. H. & Eser, H. Y. Machine learning based identification of suicidal ideation using non-suicidal predictors in a university mental health clinic. Sci. Rep. 15, 13843 (2025).

    Google Scholar 

  18. Lundberg, S. M. & Lee, S. I. A unified approach to interpreting model predictions. in Advances in Neural Information Processing Systems vol. 30Curran Associates, Inc., (2017).

  19. Lundberg, S. M. et al. From local explanations to global understanding with explainable AI for trees. Nat Mach Intell 2, 56–67 (2020).

    Google Scholar 

  20. Collins, G. S., Reitsma, J. B., Altman, D. G. & Moons, K. G. M. Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): The TRIPOD statement. Ann. Intern. Med. 162, 55–63 (2015).

    Google Scholar 

  21. Collins, G. S. et al. Protocol for development of a reporting guideline (TRIPOD-AI) and risk of bias tool (PROBAST-AI) for diagnostic and prognostic prediction model studies based on artificial intelligence. BMJ Open 11, e048008 (2021).

    Google Scholar 

  22. Jr, D. W. H., Lemeshow, S. & Sturdivant, R. X. Applied Logistic Regression (Wiley, 2013).

  23. Breiman, L. Random forests. Mach. Learn. 45, 5–32 (2001).

    Google Scholar 

  24. Chen, T., Guestrin, C. & XGBoost: A scalable tree boosting system. in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining 785–794Association for Computing Machinery, New York, NY, USA, (2016). https://doi.org/10.1145/2939672.2939785

  25. Riley, R. D. et al. Calculating the sample size required for developing a clinical prediction model. BMJ 368, m441 (2020).

    Google Scholar 

  26. Collins, G. S., Ogundimu, E. O. & Altman, D. G. Sample size considerations for the external validation of a multivariable prognostic model: A resampling study. Stat. Med. 35, 214–226 (2016).

    Google Scholar 

  27. Torrini, F. et al. Prediction of extubation outcome in critically ill patients: A systematic review and meta-analysis. Crit. Care 25, 391 (2021).

    Google Scholar 

  28. Asehnoune, K. et al. Extubation success prediction in a multicentric cohort of patients with severe brain injury. Anesthesiology 127, 338–346 (2017).

    Google Scholar 

  29. Namen, A. M. et al. Predictors of successful extubation in neurosurgical patients. Am. J. Respir. Crit. Care Med. 163, 658–664 (2001).

    Google Scholar 

  30. Thille, A. W. et al. Risk factors for and prediction by caregivers of extubation failure in ICU patients: A prospective study. Crit. Care Med. 43, 613–620 (2015).

    Google Scholar 

  31. El Solh, A. A., Bhat, A., Gunen, H. & Berbary, E. Extubation failure in the elderly. Respir. Med. 98, 661–668 (2004).

    Google Scholar 

  32. Lai, C.-C. et al. Establishing predictors for successfully planned endotracheal extubation. Medicine 95, e4852 (2016).

    Google Scholar 

  33. Lehmann, F. et al. Prolonged mechanical ventilation in patients with deep-seated intracerebral hemorrhage: Risk factors and clinical implications. J. Clin. Med. 10, 1015 (2021).

    Google Scholar 

  34. Cai, Y.-H., Wang, H.-T. & Zhou, J.-X. Perioperative predictors of extubation failure and the effect on clinical outcome after infratentorial craniotomy. Med. Sci. Monit. 22, 2431–2438 (2016).

    Google Scholar 

  35. Cheng, H. et al. Prolonged operative duration is associated with complications: A systematic review and meta-analysis. J. Surg. Res. 229, 134–144 (2018).

    Google Scholar 

  36. Boniatti, V. M. C. et al. The modified integrative weaning index as a predictor of extubation failure. Respir. Care 59, 1042–1047 (2014).

    Google Scholar 

  37. Clark, P. A., Inocencio, R. C. & Lettieri, C. J. I-TRACH: Validating a tool for predicting prolonged mechanical ventilation. J. Intensive Care Med. 33, 567–573 (2018).

    Google Scholar 

  38. Al-Ali, A. H. et al. Independent risk factors of failed extubation among adult critically ill patients: A prospective observational study from Saudi Arabia. Saudi J. Med. Med. Sci. 12, 216–222 (2024).

    Google Scholar 

  39. Chang, Y.-C. et al. Ventilator dependence risk score for the prediction of prolonged mechanical ventilation in patients who survive sepsis/septic shock with respiratory failure. Sci. Rep. 8, 5650 (2018).

    Google Scholar 

  40. Maier, I. L. et al. Predictive factors for the need of tracheostomy in patients with large vessel occlusion stroke being treated with mechanical thrombectomy. Front. Neurol. 12, 728624 (2021).

    Google Scholar 

  41. Young, D., Harrison, D. A., Cuthbertson, B. H., Rowan, K. & TracMan Collaborators, F. T. Effect of early vs late tracheostomy placement on survival in patients receiving mechanical ventilation: The TracMan randomized trial. JAMA 309, 2121 (2013).

    Google Scholar 

  42. Catalino, M. P. et al. Early versus late tracheostomy after decompressive craniectomy for stroke. J. Intensive Care 6, 1 (2018).

    Google Scholar 

  43. Chen, W. et al. Timing and outcomes of tracheostomy in patients with hemorrhagic stroke. World Neurosurg. 131, e606–e613 (2019).

    Google Scholar 

  44. Bösel, J. et al. Stroke-related early tracheostomy versus prolonged orotracheal intubation in neurocritical care trial (SETPOINT). Stroke 44, 21–28 (2013).

    Google Scholar 

  45. Bösel, J. et al. Effect of early vs standard approach to tracheostomy on functional outcome at 6 months among patients with severe stroke receiving mechanical ventilation: The SETPOINT2 randomized clinical trial. JAMA 327, 1899–1909 (2022).

    Google Scholar 

Download references

Acknowledgements

The authors sincerely thank the Department of Neurosurgery teams at Weifang People’s Hospital and Weifang Hospital of Traditional Chinese Medicine for their valuable assistance in data management and case verification.

Funding

This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.

Author information

Authors and Affiliations

  1. Department of Neurosurgery, Weifang People’s Hospital, Shandong Second Medical University, No. 151 Guangwen Road, Weifang, Shandong, China

    Feiyu Qiao, Yanrui Cai, Di Tian, Yuting Wang, Qi Liu & Quancai Li

  2. Department of Neurosurgery, Weifang Hospital of Traditional Chinese Medicine, Weifang, China

    Xin Xue & Huanhuan Yu

Authors
  1. Feiyu Qiao
    View author publications

    Search author on:PubMed Google Scholar

  2. Xin Xue
    View author publications

    Search author on:PubMed Google Scholar

  3. Huanhuan Yu
    View author publications

    Search author on:PubMed Google Scholar

  4. Yanrui Cai
    View author publications

    Search author on:PubMed Google Scholar

  5. Di Tian
    View author publications

    Search author on:PubMed Google Scholar

  6. Yuting Wang
    View author publications

    Search author on:PubMed Google Scholar

  7. Qi Liu
    View author publications

    Search author on:PubMed Google Scholar

  8. Quancai Li
    View author publications

    Search author on:PubMed Google Scholar

Contributions

F.Q. and Q.Li conceived and designed the study. F.Q. and X.X. collected and curated the clinical data. F.Q. performed data preprocessing, feature selection, model development, visualization, and web deployment. F.Q. drafted the manuscript. H.Y., Y.C., D.T., Y.W., and Q.Liu contributed to manuscript revision. Q.Li supervised the project, interpreted the findings, and critically revised the manuscript. All authors reviewed and approved the final version of the manuscript.

Corresponding author

Correspondence to Quancai Li.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Below is the link to the electronic supplementary material.

Supplementary Material 1 (download PDF )

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Qiao, F., Xue, X., Yu, H. et al. Explainable machine learning prediction of tracheostomy after craniotomy for supratentorial intracerebral hemorrhage. Sci Rep (2026). https://doi.org/10.1038/s41598-026-41953-x

Download citation

  • Received: 21 October 2025

  • Accepted: 23 February 2026

  • Published: 01 March 2026

  • DOI: https://doi.org/10.1038/s41598-026-41953-x

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Keywords

  • Supratentorial intracerebral hemorrhage
  • Tracheostomy
  • Craniotomy
  • Explainable machine learning
  • Risk prediction
Download PDF

Advertisement

Explore content

  • Research articles
  • News & Comment
  • Collections
  • Subjects
  • Follow us on Facebook
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • About Scientific Reports
  • Contact
  • Journal policies
  • Guide to referees
  • Calls for Papers
  • Editor's Choice
  • Journal highlights
  • Open Access Fees and Funding

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Scientific Reports (Sci Rep)

ISSN 2045-2322 (online)

nature.com footer links

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing