Advanced Machine Learning Techniques for Predicting Inpatient Deterioration in General Medicine

Inpatient deterioration, marked by ICU transfer or mortality, remains a critical challenge in hospital settings. While traditional early warning systems (EWS) have limitations, machine learning (ML) offers a promising approach for the early identification of at-risk patients. This study aimed to develop and validate multiple ML models for predicting inpatient deterioration among general medical patients using electronic health record (EHR) data. A retrospective cohort study was conducted on 524 patients admitted between January 2022 and December 2023. The dataset included demographic, clinical, and laboratory variables, with time-stamped measurements treated as distinct features. After excluding variables with >15% missing data, standard imputation was performed. The training data was balanced using the Synthetic Minority Over-sampling Technique (SMOTE), and feature selection was performed using SelectKBest. A range of models—including Logistic Regression, Random Forest, Gradient Boosting, Support Vector Machines (SVMs), and Neural Networks—were trained and evaluated using AUC, accuracy, precision, recall, and F1-score. During 5-fold cross-validation, the models demonstrated high stability, with the Random Forest achieving a mean AUC of 0.980. On the final independent test set, the optimized Random Forest model yielded the highest performance with an AUC of 0.837 and an accuracy of 85.4%. Functional status, oxygen requirements, and urea levels were identified as key predictors. ML models, particularly Random Forest, can significantly enhance the early detection of inpatient deterioration. The contribution of this work lies in its systematic comparison of multiple algorithms and its robust methodology. Future research should focus on external validation, the integration of temporal data using recurrent neural network architectures, and the application of Explainable AI (XAI) to foster clinical trust and facilitate implementation.

Authors

Institutions

Publication Details

Journal
Computers
Published
2026-02-12
DOI
https://doi.org/10.3390/computers15020123
Primary Topic
Sepsis Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Advanced Machine Learning Techniques for Predicting Inpatient Deterioration in General Medicine

Laila Al Wahaibi, Said Al Jaadi, Mohammed Al-Hinai, Haneen Hafiz Gaffar et al.
Computers
Sepsis Diagnosis and Treatment
article

Advanced Machine Learning Techniques for Predicting Inpatient Deterioration in General Medicine

Laila Al Wahaibi, Said Al Jaadi, Mohammed Al-Hinai, Haneen Hafiz Gaffar, Abdullah M. Al Alawi
article en

Abstract

Inpatient deterioration, marked by ICU transfer or mortality, remains a critical challenge in hospital settings. While traditional early warning systems (EWS) have limitations, machine learning (ML) offers a promising approach for the early identification of at-risk patients. This study aimed to develop and validate multiple ML models for predicting inpatient deterioration among general medical patients using electronic health record (EHR) data. A retrospective cohort study was conducted on 524 patients admitted between January 2022 and December 2023. The dataset included demographic, clinical, and laboratory variables, with time-stamped measurements treated as distinct features. After excluding variables with >15% missing data, standard imputation was performed. The training data was balanced using the Synthetic Minority Over-sampling Technique (SMOTE), and feature selection was performed using SelectKBest. A range of models—including Logistic Regression, Random Forest, Gradient Boosting, Support Vector Machines (SVMs), and Neural Networks—were trained and evaluated using AUC, accuracy, precision, recall, and F1-score. During 5-fold cross-validation, the models demonstrated high stability, with the Random Forest achieving a mean AUC of 0.980. On the final independent test set, the optimized Random Forest model yielded the highest performance with an AUC of 0.837 and an accuracy of 85.4%. Functional status, oxygen requirements, and urea levels were identified as key predictors. ML models, particularly Random Forest, can significantly enhance the early detection of inpatient deterioration. The contribution of this work lies in its systematic comparison of multiple algorithms and its robust methodology. Future research should focus on external validation, the integration of temporal data using recurrent neural network architectures, and the application of Explainable AI (XAI) to foster clinical trust and facilitate implementation.

ComputersVol. 15(2)
Oman Medical College (OM), Sultan Qaboos University Hospital (OM), Sultan Qaboos University (OM)
Openalex Percentile: Top 57%
Sepsis Diagnosis and Treatment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.