Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Developing and validating a machine learning model to predict successful next-day extubation in the ICU

View ORCID ProfileSamuel W Fenske, View ORCID ProfileAlec Peltekian, View ORCID ProfileMengjia Kang, View ORCID ProfileNikolay S Markov, View ORCID ProfileMengou Zhu, View ORCID ProfileKevin Grudzinski, View ORCID ProfileMelissa J Bak, View ORCID ProfileAnna Pawlowski, View ORCID ProfileVishu Gupta, View ORCID ProfileYuwei Mao, View ORCID ProfileStanislav Bratchikov, View ORCID ProfileThomas Stoeger, View ORCID ProfileLuke V Rasmussen, View ORCID ProfileAlok N Choudhary, View ORCID ProfileAlexander V Misharin, View ORCID ProfileBenjamin D Singer, View ORCID ProfileGR Scott Budinger, View ORCID ProfileRichard G Wunderink, View ORCID ProfileAnkit Agrawal, View ORCID ProfileCatherine A Gao, the NU SCRIPT Study Investigators
doi: https://doi.org/10.1101/2024.06.28.24309547
Samuel W Fenske
1Division of Pulmonary and Critical Care, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Samuel W Fenske
Alec Peltekian
2Department of Electrical and Computer Engineering, Northwestern University
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Alec Peltekian
Mengjia Kang
1Division of Pulmonary and Critical Care, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Mengjia Kang
Nikolay S Markov
1Division of Pulmonary and Critical Care, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Nikolay S Markov
Mengou Zhu
3Department of Medicine, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Mengou Zhu
Kevin Grudzinski
3Department of Medicine, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Kevin Grudzinski
Melissa J Bak
3Department of Medicine, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Melissa J Bak
Anna Pawlowski
4Northwestern Medicine Enterprise Data Warehouse, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Anna Pawlowski
Vishu Gupta
2Department of Electrical and Computer Engineering, Northwestern University
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Vishu Gupta
Yuwei Mao
2Department of Electrical and Computer Engineering, Northwestern University
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Yuwei Mao
Stanislav Bratchikov
1Division of Pulmonary and Critical Care, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Stanislav Bratchikov
Thomas Stoeger
1Division of Pulmonary and Critical Care, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Thomas Stoeger
Luke V Rasmussen
5Division of Health and Biomedical Informatics, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Luke V Rasmussen
Alok N Choudhary
2Department of Electrical and Computer Engineering, Northwestern University
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Alok N Choudhary
Alexander V Misharin
1Division of Pulmonary and Critical Care, Northwestern University Feinberg School of Medicine
6Simpson Querrey Lung Institute for Translational Science (SQLIFTS), Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Alexander V Misharin
Benjamin D Singer
1Division of Pulmonary and Critical Care, Northwestern University Feinberg School of Medicine
6Simpson Querrey Lung Institute for Translational Science (SQLIFTS), Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Benjamin D Singer
GR Scott Budinger
1Division of Pulmonary and Critical Care, Northwestern University Feinberg School of Medicine
6Simpson Querrey Lung Institute for Translational Science (SQLIFTS), Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for GR Scott Budinger
Richard G Wunderink
1Division of Pulmonary and Critical Care, Northwestern University Feinberg School of Medicine
6Simpson Querrey Lung Institute for Translational Science (SQLIFTS), Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Richard G Wunderink
Ankit Agrawal
2Department of Electrical and Computer Engineering, Northwestern University
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Ankit Agrawal
Catherine A Gao
1Division of Pulmonary and Critical Care, Northwestern University Feinberg School of Medicine
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Catherine A Gao
  • For correspondence: catherine.gao@northwestern.edu
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Supplementary material
  • Data/Code
  • Preview PDF
Loading

Abstract

Background Criteria to identify patients who are ready to be liberated from mechanical ventilation are imprecise, often resulting in prolonged mechanical ventilation or reintubation, both of which are associated with adverse outcomes. Daily protocol-driven assessment of the need for mechanical ventilation leads to earlier extubation but requires dedicated personnel. We sought to determine whether machine learning applied to the electronic health record could predict successful extubation.

Methods We examined 37 clinical features from patients from a single-center prospective cohort study of patients in our quaternary care medical ICU who required mechanical ventilation and underwent a bronchoalveolar lavage for known or suspected pneumonia. We also tested our models on an external test set from a community hospital ICU in our health care system. We curated electronic health record data aggregated from midnight to 8AM and labeled extubation status. We deployed three data encoding/imputation strategies and built XGBoost, LightGBM, logistic regression, LSTM, and RNN models to predict successful next-day extubation. We evaluated each model’s performance using Area Under the Receiver Operating Characteristic (AUROC), Area Under the Precision Recall Curve (AUPRC), Sensitivity (Recall), Specificity, PPV (Precision), Accuracy, and F1-Score.

Results Our internal cohort included 696 patients and 9,828 ICU days, and our external cohort had 333 patients and 2,835 ICU days. The best model (LSTM) predicted successful extubation on a given ICU day with an AUROC 0.87 (95% CI 0.834-0.902) and the internal test set and 0.87 (95% CI 0.848-0.885) on the external test set. A Logistic Regression model performed similarly (AUROC 0.86 internal test, 0.83 external test). Across multiple model types, measures previously demonstrated to be important in determining readiness for extubation were found to be most informative, including plateau pressure and Richmond Agitation Sedation Scale (RASS) score. Our model often predicted patients to be stable for extubation in the days preceding their actual extubation, with 63.8% of predicted extubations occurring within three days of true extubation. We also tested the best model on cases of failed extubations (requiring reintubation within two days) not seen by the model during training. Our best model would have identified 35.4% (17/48) of these cases in the internal test set and 48.1% (13/27) cases in the external test set as unlikely to be successfully extubated.

Conclusions Machine learning models can accurately predict the likelihood of extubation on a given ICU day from data available in the electronic health record. Predictions from these models are driven by clinical features that have been associated with successful extubation in clinical trials.

Competing Interest Statement

BDS holds US patent 10,905,706, "Compositions and methods to accelerate resolution of acute lung inflammation," and serves on the scientific advisory board of Zoe Biosciences, in which he holds stock options. Other authors have no conflicts within the area of this work.

Funding Statement

SCRIPT is supported by NIH/NIAID U19AI135964. Work in the Division of Pulmonary and Critical Care is also supported by SQLIFTS and the Canning Thoracic Institute. NSM is supported by AHA 24PRE1196998. GRSB is supported by the NIH (U19AI135964, P01AG049665, R01HL147575, P01HL071643, and R01HL154686); the US Department of Veterans Affairs (I01CX001777); a grant from the Chicago Biomedical Consortium; and a Northwestern University Dixon Translational Science Award. RGW is supported by NIH grants (U19AI135964, U01TR003528, P01HL154998, R01HL14988, and R01LM013337). AVM is supported by NIH grants (U19AI135964, P01AG049665, R21AG075423, R01HL158139, R01HL153312, and P01HL154998). BDS is supported by the NIH (R01HL149883, R01HL153122, P01HL154998, P01AG049665, and U19AI135964). AA is supported by NIH grants (U19AI135964 and R01HL158139). CAG is supported by NIH/NHLBI K23HL169815, a Parker B. Francis Opportunity Award, and an American Thoracic Society Unrestricted Grant.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

Human Ethics and Consent to Participate: This study was approved by the Northwestern University Institutional Review Board with study IDs STU00204868 and STU00216678.

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Footnotes

  • ↵* co-first authors

  • ↵** co-senior authors

Data availability

A significant portion of this data has been already made available through PhysioNet at https://physionet.org/content/script-carpediem-dataset/1.1.0/, a future update will include new patients and updated data since the publication of the original dataset. Code for processing and analysis are available at https://github.com/NUPulmonary/2024_Fenske_Peltekian.

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC-ND 4.0 International license.
Back to top
PreviousNext
Posted June 30, 2024.
Download PDF

Supplementary Material

Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Developing and validating a machine learning model to predict successful next-day extubation in the ICU
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Developing and validating a machine learning model to predict successful next-day extubation in the ICU
Samuel W Fenske, Alec Peltekian, Mengjia Kang, Nikolay S Markov, Mengou Zhu, Kevin Grudzinski, Melissa J Bak, Anna Pawlowski, Vishu Gupta, Yuwei Mao, Stanislav Bratchikov, Thomas Stoeger, Luke V Rasmussen, Alok N Choudhary, Alexander V Misharin, Benjamin D Singer, GR Scott Budinger, Richard G Wunderink, Ankit Agrawal, Catherine A Gao, the NU SCRIPT Study Investigators
medRxiv 2024.06.28.24309547; doi: https://doi.org/10.1101/2024.06.28.24309547
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Developing and validating a machine learning model to predict successful next-day extubation in the ICU
Samuel W Fenske, Alec Peltekian, Mengjia Kang, Nikolay S Markov, Mengou Zhu, Kevin Grudzinski, Melissa J Bak, Anna Pawlowski, Vishu Gupta, Yuwei Mao, Stanislav Bratchikov, Thomas Stoeger, Luke V Rasmussen, Alok N Choudhary, Alexander V Misharin, Benjamin D Singer, GR Scott Budinger, Richard G Wunderink, Ankit Agrawal, Catherine A Gao, the NU SCRIPT Study Investigators
medRxiv 2024.06.28.24309547; doi: https://doi.org/10.1101/2024.06.28.24309547

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Intensive Care and Critical Care Medicine
Subject Areas
All Articles
  • Addiction Medicine (423)
  • Allergy and Immunology (746)
  • Anesthesia (218)
  • Cardiovascular Medicine (3228)
  • Dentistry and Oral Medicine (356)
  • Dermatology (270)
  • Emergency Medicine (476)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1149)
  • Epidemiology (13240)
  • Forensic Medicine (19)
  • Gastroenterology (889)
  • Genetic and Genomic Medicine (5059)
  • Geriatric Medicine (470)
  • Health Economics (772)
  • Health Informatics (3181)
  • Health Policy (1128)
  • Health Systems and Quality Improvement (1173)
  • Hematology (423)
  • HIV/AIDS (1002)
  • Infectious Diseases (except HIV/AIDS) (14531)
  • Intensive Care and Critical Care Medicine (901)
  • Medical Education (468)
  • Medical Ethics (125)
  • Nephrology (513)
  • Neurology (4804)
  • Nursing (254)
  • Nutrition (715)
  • Obstetrics and Gynecology (870)
  • Occupational and Environmental Health (781)
  • Oncology (2474)
  • Ophthalmology (701)
  • Orthopedics (278)
  • Otolaryngology (337)
  • Pain Medicine (320)
  • Palliative Medicine (89)
  • Pathology (528)
  • Pediatrics (1277)
  • Pharmacology and Therapeutics (542)
  • Primary Care Research (550)
  • Psychiatry and Clinical Psychology (4130)
  • Public and Global Health (7365)
  • Radiology and Imaging (1668)
  • Rehabilitation Medicine and Physical Therapy (992)
  • Respiratory Medicine (969)
  • Rheumatology (473)
  • Sexual and Reproductive Health (491)
  • Sports Medicine (413)
  • Surgery (534)
  • Toxicology (69)
  • Transplantation (232)
  • Urology (199)