Dynamic and explainable machine learning prediction of mortality in patients in the intensive care unit: a retrospective study of high-frequency data in electronic patient records
Open accessThe DOI matches its Crossref record; 54 of the 54 references it cites were found in a registry or an index.
Abstract
BACKGROUND: Many mortality prediction models have been developed for patients in intensive care units (ICUs); most are based on data available at ICU admission. We investigated whether machine learning methods using analyses of time-series data improved mortality prognostication for patients in the ICU by providing real-time predictions of 90-day mortality. In addition, we examined to what extent such a dynamic model could be made interpretable by quantifying and visualising the features that drive the predictions at different timepoints. METHODS: Based on the Simplified Acute Physiology Score (SAPS) III variables, we trained a machine learning model on longitudinal data from patients admitted to four ICUs in the Capital Region, Denmark, between 2011 and 2016. We included all patients older than 16 years of age, with an ICU stay lasting more than 1 h, and who had a Danish civil registration number to enable 90-day follow-up. We leveraged static data and physiological time-series data from electronic health records and the Danish National Patient Registry. A recurrent neural network was trained with a temporal resolution of 1 h. The model was internally validated using the holdout method with 20% of the training dataset and externally validated using previously unseen data from a fifth hospital in Denmark. Its performance was assessed with the Matthews correlation coefficient (MCC) and area under the receiver operating characteristic curve (AUROC) as metrics, using bootstrapping with 1000 samples with replacement to construct 95% CIs. A Shapley additive explanations algorithm was applied to the prediction model to obtain explanations of the features that drive patient-specific predictions, and the contributions of each of the 44 features in the model were analysed and compared with the variables in the original SAPS III model. FINDINGS: From a dataset containing 15 615 ICU admissions of 12 616 patients, we included 14 190 admissions of 11 492 patients in our analysis. Overall, 90-day mortality was 33·1% (3802 patients). The deep learning model showed a predictive performance on the holdout testing dataset that improved over the timecourse of an ICU stay: MCC 0·29 (95% CI 0·25-0·33) and AUROC 0·73 (0·71-0·74) at admission, 0·43 (0·40-0·47) and 0·82 (0·80-0·84) after 24 h, 0·50 (0·46-0·53) and 0·85 (0·84-0·87) after 72 h, and 0·57 (0·54-0·60) and 0·88 (0·87-0·89) at the time of discharge. The model exhibited good calibration properties. These results were validated in an external validation cohort of 5827 patients with 6748 admissions: MCC 0·29 (95% CI 0·27-0·32) and AUROC 0·75 (0·73-0·76) at admission, 0·41 (0·39-0·44) and 0·80 (0·79-0·81) after 24 h, 0·46 (0·43-0·48) and 0·82 (0·81-0·83) after 72 h, and 0·47 (0·44-0·49) and 0·83 (0·82-0·84) at the time of discharge. INTERPRETATION: The prediction of 90-day mortality improved with 1-h sampling intervals during the ICU stay. The dynamic risk prediction can also be explained for an individual patient, visualising the features contributing to the prediction at any point in time. This explanation allows the clinician to determine whether there are elements in the current patient state and care that are potentially actionable, thus making the model suitable for further validation as a clinical tool. FUNDING: Novo Nordisk Foundation and the Innovation Fund Denmark.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures






Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The check wasn’t confident either way, so it gives no verdict — never disputed.
In the citing paper
“our work offers a starting point for knowledge-guided approaches [86].”
From Toward generalizable and interpretable machine learning models in healthcare: Insights from ICU outcome predictions (2026) · cites this paper as [86]
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Hochreiter, S., & Schmidhuber, J. (1997) · Neural Computation · doi:10.1162/neco.1997.9.8.1735 · Cited by 102,318 · cited 1×
“17 We chose hourly predictions to strike a balance between continuously obtaining new predictions and keeping the complexity of the model manageable.”
A Unified Approach to Interpreting Model Predictions
Lundberg, S., & Lee, S.-I. (2017) · arXiv · doi:10.48550/arxiv.1705.07874 · Cited by 23,707 · cited 4×
“11,12 This could, in turn, facilitate the translation of machine learning models into clinical decision-support tools.”
Influential"Why Should I Trust You?": Explaining the Predictions of Any Classifier
Ribeiro, M. T., Singh, S., & Guestrin, C. (2016) · Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining · doi:10.1145/2939672.2939778 · Cited by 17,555
On calibration of modern neural networks
Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017) · arXiv · doi:10.48550/arxiv.1706.04599 · Cited by 14,095
Gauriat, C.-M., Pencolé, Y., Ribot, P., & Brouillet, G. (2024) · HAL (Le Centre pour la Communication Scientifique Directe) · doi:10.4230/oasics.dx.2024.27 · Cited by 12,586
He, H., & Garcia, E. A. (2009) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2008.239 · Cited by 10,359 · cited 1×
“20,21 To find the optimal hyper parameters, we tested all 336 combinations of the following settings: number of hidden LSTM neurons (1, 4, 8, 16, 32, 64, or 128), number of hidden layers (1, 2, or 3), dropout (0, 0⋅2, 0⋅4, 0⋅6), optimisation function (RMSprop or Adagrad), and balancing of classes…”
An introduction to variable and feature selection
GuyonIsabelle, & ElisseeffAndré (2003) · Journal of Machine Learning Research · doi:10.5555/944919.944968 · Cited by 7,715
17. A Value for n-Person Games
Shapley, L. S. (1953) · Contributions to the Theory of Games (AM-28), Volume II · doi:10.1515/9781400881970-018 · Cited by 6,950
An Introduction to Variable and Feature Selection.
Guyon, I., & Elisseeff, A. (2003) · Cited by 6,576
Probabilistic Outputs for Support vector Machines and Comparisons to Regularized Likelihood Methods
Platt, J. C. (1999) · Cited by 6,534
Decision curve analysis: a novel method for evaluating prediction models
Vickers, A. J., & Elkin, E. B. (2006) · Medical Decision Making · doi:10.1177/0272989x06295361 · Cited by 6,341
Comparison of the predicted and observed secondary structure of T4 phage lysozyme
Matthews, B. W. (1975) · Biochimica et Biophysica Acta (BBA) - Protein Structure · doi:10.1016/0005-2795(75)90109-9 · Cited by 5,399
Assessing the Performance of Prediction Models: A Framework for Traditional and Novel Measures
Steyerberg, E. W., Vickers, A. J., Cook, N. R., Gerds, T., Gonen, M., Obuchowski, N., Pencina, M. J., & Kattan, M. W. (2010) · Epidemiology · doi:10.1097/ede.0b013e3181c30fb2 · Cited by 5,170
Moons, K. G. M., Altman, D. G., Reitsma, J. B., Ioannidis, J. P. A., Macaskill, P., Steyerberg, E. W., Vickers, A. J., Ransohoff, D. F., & Collins, G. S. (2015) · Annals of Internal Medicine · doi:10.7326/m14-0698 · Cited by 5,147 · cited 1×
“13”
Shapley, L. S. (1988) · The Shapley Value · doi:10.1017/cbo9780511528446.003 · Cited by 4,954 · cited 2×
“11,22,23 Importantly, this is not the same as direct feature effects known from (generalised) linear models.”
The Danish National Patient Registry: a review of content, data quality, and research potential
Schmidt, M., Schmidt, S. A. J., Sandegaard, J. L., Ehrenstein, V., Pedersen, L., & Sørensen, H. T. (2015) · Clinical Epidemiology · doi:10.2147/clep.s91125 · Cited by 4,769
Vincent, J.-L., de Mendonca, A., Cantraine, F., Moreno, R., Takala, J., Suter, P. M., Sprung, C. L., Colardyn, F., & Blecher, S. (1998) · Critical Care Medicine · doi:10.1097/00003246-199811000-00016 · Cited by 3,463
The APACHE III Prognostic System
Knaus, W. A., Wagner, D. P., Draper, E. A., Zimmerman, J. E., Bergner, M., Bastos, P. G., Sirio, C. A., Murphy, D. J., Lotring, T., Damiano, A., et al. (1991) · Chest · doi:10.1378/chest.100.6.1619 · Cited by 3,439
Clinical Prediction Models: A Practical Approach to Development, Validation, and Updating
Steyerberg, E. W. (2019) · Statistics for Biology and Health · doi:10.1007/978-3-030-16399-0 · Cited by 3,281
Doyle, T. (2017) · The Information Society · doi:10.1080/01972243.2017.1354593 · Cited by 3,071
The APACHE III Prognostic System
Teres, D., & Lemeshow, S. (1992) · Chest · doi:10.1378/chest.102.6.1919b · Cited by 2,880
(2016) · Cited by 2,334
Explainable machine-learning predictions for the prevention of hypoxaemia during surgery
Lundberg, S. M., Nair, B., Vavilala, M. S., Horibe, M., Eisses, M. J., Adams, T., Liston, D. E., Low, D. K.-W., Newman, S.-F., Kim, J., et al. (2018) · Nature Biomedical Engineering · doi:10.1038/s41551-018-0304-0 · Cited by 1,967
(2010) · doi:10.5555/1756006.1859921 · Cited by 1,924
Advances in Large-Margin Classifiers
(2000) · The MIT Press eBooks · doi:10.7551/mitpress/1113.001.0001 · Cited by 1,869
Steyerberg, E. W. (2009) · Statistics for Biology and Health · doi:10.1007/978-0-387-77244-8 · Cited by 1,491
Moreno, R. P., Metnitz, P. G. H., Almeida, E., Jordan, B., Bauer, P., Campos, R. A., Iapichino, G., Edbrooke, D., Capuzzo, M., Le Gall, J.-R., et al. (2005) · Intensive Care Medicine · doi:10.1007/s00134-005-2763-5 · Cited by 1,413 · cited 2×
“15 External validation studies have revealed AUROCs of 0⋅69 (95% CI 0⋅63–0⋅75) and 0·81 (0⋅79–0⋅93) in Denmark and Norway, respectively.”
(2019) · SGEM International Multidisciplinary Scientific Conferences on SOCIAL SCIENCES and ARTS Proceedings · doi:10.5593/sgemsocial2019v/1.1 · Cited by 1,298
Optimal classifier for imbalanced data using Matthews Correlation Coefficient metric
Boughorbel, S., Jarray, F., & El-Anbari, M. (2017) · PLOS ONE · doi:10.1371/journal.pone.0177678 · Cited by 1,222
Chollet, F. (2017) · Cited by 1,158
Lemeshow, S. (1993) · JAMA: The Journal of the American Medical Association · doi:10.1001/jama.1993.03510200084037 · Cited by 1,029
Bioinformatics the machine learning approach
Baldi, P., & Brunak, S. (2001) · Cited by 942
Self-citationMcGee, S. (2002) · Journal of General Internal Medicine · doi:10.1046/j.1525-1497.2002.10750.x · Cited by 894 · cited 1×
“27 The positive likelihood ratio is calculated as and the negative likelihood ratio as Bootstrapping was used to construct 95% CIs around the estimates using 1000 bootstrap samples of mortality prediction probabilities with replacement.”
Metnitz, P. G. H., Moreno, R. P., Almeida, E., Jordan, B., Bauer, P., Campos, R. A., Iapichino, G., Edbrooke, D., Capuzzo, M., Le Gall, J.-R., et al. (2005) · Intensive Care Medicine · doi:10.1007/s00134-005-2762-6 · Cited by 685
Before you make that big decision...
Kahneman, D. J., Lovallo, D. P., & Sibony, O. (2011) · PubMed · Cited by 654
Bioinformatics: The Machine Learning Approach
Leunissen, J. (2002) · Briefings in Bioinformatics · doi:10.1093/bib/3.3.321 · Cited by 473
Machine Learning and Decision Support in Critical Care
Johnson, A. E. W., Ghassemi, M. M., Nemati, S., Niehaus, K. E., Clifton, D., & Clifford, G. D. (2016) · Proceedings of the IEEE · doi:10.1109/jproc.2015.2501978 · Cited by 432
Austin, P. C., & Steyerberg, E. W. (2014) · Statistics in Medicine · doi:10.1002/sim.5941 · Cited by 362 · cited 1×
“28,29 We adopted the usual approach for binary outcomes of plotting means of decile-binned predictions on the x -axis and means of the observed outcomes in the patients in each bin on the y -axis.”
Machine learning for real-time prediction of complications in critical care: a retrospective study
Meyer, A., Zverinski, D., Pfahringer, B., Kempfert, J., Kuehne, T., Sündermann, S. H., Stamm, C., Hofmann, T., Falk, V., & Eickhoff, C. (2018) · The Lancet Respiratory Medicine · doi:10.1016/s2213-2600(18)30300-x · Cited by 350 · cited 1×
“37 As in our study, they base their model on routinely collected data.”
Fallacies of last observation carried forward analyses
Lachin, J. M. (2016) · Clinical Trials · doi:10.1177/1740774515602688 · Cited by 328
The legal and ethical concerns that arise from using complex predictive analytics in health care
Cohen, I. G., Amarasingham, R., Shah, A., Xie, B., & Lo, B. (2014) · Health Affairs · doi:10.1377/hlthaff.2014.0048 · Cited by 300
Making Machine Learning Models Clinically Useful
Shah, N. H., Milstein, A., & Bagley, P. (2019) · JAMA · doi:10.1001/jama.2019.10306 · Cited by 294
Reps, J. M., Schuemie, M. J., Suchard, M. A., Ryan, P. B., & Rijnbeek, P. R. (2018) · Journal of the American Medical Informatics Association · doi:10.1093/jamia/ocy032 · Cited by 205 · cited 1×
“30,31 To quantify the calibration, we computed calibration slopes and intercepts independently for each hourly prediction.”
ICU severity of illness scores: APACHE, SAPS and MPM
Salluh, J. I. F., & Soares, M. (2014) · Current Opinion in Critical Care · doi:10.1097/mcc.0000000000000135 · Cited by 204
Christensen, Johansen, M., Christiansen, C., Jensen, & Lemeshow (2011) · Clinical Epidemiology · doi:10.2147/clep.s20247 · Cited by 203 · cited 1×
“35,36 Our model had a higher predictive performance compared with these results, which we confirmed using an external dataset obtained after the study was completed.”
Nielsen, A. B., Thorsen-Meyer, H.-C., Belling, K., Nielsen, A. P., Thomas, C. E., Chmura, P. J., Lademann, M., Moseley, P. L., Heimann, M., Dybdahl, L., et al. (2019) · The Lancet Digital Health · doi:10.1016/s2589-7500(19)30024-x · Cited by 109
Self-citationOptimal intensive care outcome prediction over time using machine learning
Meiring, C., Dixit, A., Harris, S., MacCallum, N. S., Brealey, D. A., Watkinson, P. J., Jones, A., Ashworth, S., Beale, R., Brett, S. J., et al. (2018) · PLOS ONE · doi:10.1371/journal.pone.0206862 · Cited by 94 · cited 1×
“38 In contrast to our study, they report that the best performance is accomplished around 2 days into the ICU admission.”
Dynamic Mortality Risk Predictions in Pediatric Critical Care Using Recurrent Neural Networks
Aczon, M., Ledbetter, D., Ho, V. L., Gunny, A. M., Flynn, A., Williams, J., & Wetzel, R. C. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1701.06675 · Cited by 68
Glance, L. G., Osler, T. M., & Dick, A. W. (2002) · Critical Care Medicine · doi:10.1097/00003246-200209000-00008 · Cited by 56
A comparison of SAPS II and SAPS 3 in a Norwegian intensive care unit population
Strand, K., Søreide, E., Aardal, S., & Flaatten, H. K. (2009) · Acta Anaesthesiologica Scandinavica · doi:10.1111/j.1399-6576.2009.01948.x · Cited by 39 · cited 1×
“35,36 Our model had a higher predictive performance compared with these results, which we confirmed using an external dataset obtained after the study was completed.”
Comparing ICU Populations: Background and Current Methods
Zimmerman, J. E., Draper, E. A., & Wagner, D. P. (2002) · Springer eBooks · doi:10.1007/978-1-4615-6939-8_9 · Cited by 11
(2002) · Springer eBooks · doi:10.1007/978-1-4615-6939-8 · Cited by 9
Harvey, S. E., Parrott, F., Harrison, D. A., Sadique, M., Grieve, R., Canter, R. R., McLennan, B. K., Tan, J. C., Bear, D. E., Segaran, E., et al. (2016) · Cited by 5
Research works printed but not linked: 2
- EU. Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (General Data Protection Regulation). Off J Eur Communities 2016; 59: 1-88.
- Pearl J. Causality. Cambridge: Cambridge University Press, 2009.
Cited by
Rajpurkar, P., Chen, E., Banerjee, O., & Topol, E. J. (2022) · Nature Medicine · doi:10.1038/s41591-021-01614-0 · Cited by 3,212
“Some deep learning models integrate multiple sources of medical data for a multimodal approach 64–68 .”
BackgroundLoh, H. W., Ooi, C. P., Seoni, S., Barua, P. D., Molinari, F., & Acharya, U. R. (2022) · Computer Methods and Programs in Biomedicine · doi:10.1016/j.cmpb.2022.107161 · Cited by 734
A deep learning algorithm to predict risk of pancreatic cancer from disease trajectories
Placido, D., Yuan, B., Hjaltelin, J. X., Zheng, C., Haue, A. D., Chmura, P. J., Yuan, C., Kim, J., Umeton, R., Antell, G., et al. (2023) · Nature Medicine · doi:10.1038/s41591-023-02332-5 · Cited by 349
Self-citationEarly Prediction of Sepsis in the ICU Using Machine Learning: A Systematic Review
Moor, M., Rieck, B., Horn, M., Jutzeler, C. R., & Borgwardt, K. (2021) · Frontiers in Medicine · doi:10.3389/fmed.2021.607952 · Cited by 231
Time Series Prediction Using Deep Learning Methods in Healthcare
Morid, M. A., Sheng, O. R. L., & Dunbar, J. (2023) · ACM Transactions on Management Information Systems · doi:10.1145/3531326 · Cited by 231
“Alternatively, hybrid deployments of CNN/RNN models have been successful in outperforming pure CNN or RNN models for predicting readmission after ICU discharge [59], patient next-visit diagnosis [73], mortality [44], and heart failure [54].”
MethodInfluential
Metadata
- Authors
- Thorsen-Meyer, H.-C., Nielsen, A. B., Nielsen, A. P., Kaas-Hansen, B. S., Toft, P., Schierbeck, J., Strøm, T., Chmura, P. J., Heimann, M., Dybdahl, L., Spangsege, L., Hulsen, P., Belling, K., Brunak, S., & Perner, A.
- Affiliations
- University of Copenhagen (DK)
- University of Southern Denmark (DK)
- Capital Region of Denmark (DK)
- Copenhagen University Hospital (DK)
- Corresponding author
- Brunak, Søren
- ORCID
- Venue
- The Lancet Digital Health
- Publisher
- Elsevier BV
- Published
- 2020-04
- Volume
- 2
- Issue
- 4
- Pages
- e179-e191
- ISSN
- 2589-7500 (ISSN-L)
- OpenAlex
- W3011812967
- Semantic Scholar
- e455669740ef318efd6a38b893933739dfea1eb3
- Cited by
- 336
- References
- 54
- Citations by year
- 2026: 42 · 2025: 55 · 2024: 50 · 2023: 67 · 2022: 64 · 2021: 43 · 2020: 15
- FWCI
- 18.58
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- cc-by
- www.elsevier.com/tdm/userlicense/1.0/ (tdm)
- www.elsevier.com/legal/tdmrep-license (tdm)
- creativecommons.org/licenses/by/4.0/ (vor)
- Locations
- The Lancet Digital Health (publishedVersion, cc-by)
- PubMed (publishedVersion)
- Research at the University of Copenhagen (University of Copenhagen) (publishedVersion, cc-by)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- University of Southern Denmark Research Portal (University of Southern Denmark) (submittedVersion, cc-by)
- Funders
- Herlev Hospital
- Odense Universitetshospital
- Ferring Pharmaceuticals
- Novo Nordisk Fonden (NNF14CC0001, NNF17OC0027594)
- Innovationsfonden (5153–00002B, 5184–00102B)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
- Health Sciences › Medicine › Critical Care and Intensive Care Medicine › Sepsis Diagnosis and Treatment
- Health Sciences › Health Professions › Health Information Management › Artificial Intelligence in Healthcare
- Keywords
- mortality prediction, intensive care unit, 90-day mortality, recurrent neural networks, time series, electronic health records, SHAP, model interpretability, SAPS 3, deep learning, feature attribution, clinical decision support, external validation, Danish National Patient Registry, mortality risk stratification
- MeSH terms
- Machine Learning, Simplified Acute Physiology Score, Data Analysis, Aged, Algorithms, Female, Hospitalization, Humans, Intensive Care Units, Male, Middle Aged, Models, Biological, Prognosis, Retrospective Studies, ROC Curve, Cohort Studies, Critical Illness, Hospital Mortality, Risk Assessment, Area Under Curve, Electronic Health Records
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.