Cargando…
New onset delirium prediction using machine learning and long short-term memory (LSTM) in electronic health record
OBJECTIVE: To develop and test an accurate deep learning model for predicting new onset delirium in hospitalized adult patients. METHODS: Using electronic health record (EHR) data extracted from a large academic medical center, we developed a model combining long short-term memory (LSTM) and machine...
Autores principales: | , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Oxford University Press
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9748586/ https://www.ncbi.nlm.nih.gov/pubmed/36303456 http://dx.doi.org/10.1093/jamia/ocac210 |
_version_ | 1784849854994841600 |
---|---|
author | Liu, Siru Schlesinger, Joseph J McCoy, Allison B Reese, Thomas J Steitz, Bryan Russo, Elise Koh, Brian Wright, Adam |
author_facet | Liu, Siru Schlesinger, Joseph J McCoy, Allison B Reese, Thomas J Steitz, Bryan Russo, Elise Koh, Brian Wright, Adam |
author_sort | Liu, Siru |
collection | PubMed |
description | OBJECTIVE: To develop and test an accurate deep learning model for predicting new onset delirium in hospitalized adult patients. METHODS: Using electronic health record (EHR) data extracted from a large academic medical center, we developed a model combining long short-term memory (LSTM) and machine learning to predict new onset delirium and compared its performance with machine-learning-only models (logistic regression, random forest, support vector machine, neural network, and LightGBM). The labels of models were confusion assessment method (CAM) assessments. We evaluated models on a hold-out dataset. We calculated Shapley additive explanations (SHAP) measures to gauge the feature impact on the model. RESULTS: A total of 331 489 CAM assessments with 896 features from 34 035 patients were included. The LightGBM model achieved the best performance (AUC 0.927 [0.924, 0.929] and F1 0.626 [0.618, 0.634]) among the machine learning models. When combined with the LSTM model, the final model’s performance improved significantly (P = .001) with AUC 0.952 [0.950, 0.955] and F1 0.759 [0.755, 0.765]. The precision value of the combined model improved from 0.497 to 0.751 with a fixed recall of 0.8. Using the mean absolute SHAP values, we identified the top 20 features, including age, heart rate, Richmond Agitation-Sedation Scale score, Morse fall risk score, pulse, respiratory rate, and level of care. CONCLUSION: Leveraging LSTM to capture temporal trends and combining it with the LightGBM model can significantly improve the prediction of new onset delirium, providing an algorithmic basis for the subsequent development of clinical decision support tools for proactive delirium interventions. |
format | Online Article Text |
id | pubmed-9748586 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Oxford University Press |
record_format | MEDLINE/PubMed |
spelling | pubmed-97485862022-12-15 New onset delirium prediction using machine learning and long short-term memory (LSTM) in electronic health record Liu, Siru Schlesinger, Joseph J McCoy, Allison B Reese, Thomas J Steitz, Bryan Russo, Elise Koh, Brian Wright, Adam J Am Med Inform Assoc Research and Applications OBJECTIVE: To develop and test an accurate deep learning model for predicting new onset delirium in hospitalized adult patients. METHODS: Using electronic health record (EHR) data extracted from a large academic medical center, we developed a model combining long short-term memory (LSTM) and machine learning to predict new onset delirium and compared its performance with machine-learning-only models (logistic regression, random forest, support vector machine, neural network, and LightGBM). The labels of models were confusion assessment method (CAM) assessments. We evaluated models on a hold-out dataset. We calculated Shapley additive explanations (SHAP) measures to gauge the feature impact on the model. RESULTS: A total of 331 489 CAM assessments with 896 features from 34 035 patients were included. The LightGBM model achieved the best performance (AUC 0.927 [0.924, 0.929] and F1 0.626 [0.618, 0.634]) among the machine learning models. When combined with the LSTM model, the final model’s performance improved significantly (P = .001) with AUC 0.952 [0.950, 0.955] and F1 0.759 [0.755, 0.765]. The precision value of the combined model improved from 0.497 to 0.751 with a fixed recall of 0.8. Using the mean absolute SHAP values, we identified the top 20 features, including age, heart rate, Richmond Agitation-Sedation Scale score, Morse fall risk score, pulse, respiratory rate, and level of care. CONCLUSION: Leveraging LSTM to capture temporal trends and combining it with the LightGBM model can significantly improve the prediction of new onset delirium, providing an algorithmic basis for the subsequent development of clinical decision support tools for proactive delirium interventions. Oxford University Press 2022-10-27 /pmc/articles/PMC9748586/ /pubmed/36303456 http://dx.doi.org/10.1093/jamia/ocac210 Text en © The Author(s) 2022. Published by Oxford University Press on behalf of the American Medical Informatics Association. https://creativecommons.org/licenses/by/4.0/This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited. |
spellingShingle | Research and Applications Liu, Siru Schlesinger, Joseph J McCoy, Allison B Reese, Thomas J Steitz, Bryan Russo, Elise Koh, Brian Wright, Adam New onset delirium prediction using machine learning and long short-term memory (LSTM) in electronic health record |
title | New onset delirium prediction using machine learning and long short-term memory (LSTM) in electronic health record |
title_full | New onset delirium prediction using machine learning and long short-term memory (LSTM) in electronic health record |
title_fullStr | New onset delirium prediction using machine learning and long short-term memory (LSTM) in electronic health record |
title_full_unstemmed | New onset delirium prediction using machine learning and long short-term memory (LSTM) in electronic health record |
title_short | New onset delirium prediction using machine learning and long short-term memory (LSTM) in electronic health record |
title_sort | new onset delirium prediction using machine learning and long short-term memory (lstm) in electronic health record |
topic | Research and Applications |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9748586/ https://www.ncbi.nlm.nih.gov/pubmed/36303456 http://dx.doi.org/10.1093/jamia/ocac210 |
work_keys_str_mv | AT liusiru newonsetdeliriumpredictionusingmachinelearningandlongshorttermmemorylstminelectronichealthrecord AT schlesingerjosephj newonsetdeliriumpredictionusingmachinelearningandlongshorttermmemorylstminelectronichealthrecord AT mccoyallisonb newonsetdeliriumpredictionusingmachinelearningandlongshorttermmemorylstminelectronichealthrecord AT reesethomasj newonsetdeliriumpredictionusingmachinelearningandlongshorttermmemorylstminelectronichealthrecord AT steitzbryan newonsetdeliriumpredictionusingmachinelearningandlongshorttermmemorylstminelectronichealthrecord AT russoelise newonsetdeliriumpredictionusingmachinelearningandlongshorttermmemorylstminelectronichealthrecord AT kohbrian newonsetdeliriumpredictionusingmachinelearningandlongshorttermmemorylstminelectronichealthrecord AT wrightadam newonsetdeliriumpredictionusingmachinelearningandlongshorttermmemorylstminelectronichealthrecord |