z-logo
open-access-imgOpen Access
Prediction of in‐hospital hypokalemia using machine learning and first hospitalization day records in patients with traumatic brain injury
Author(s) -
Zhou Zhengyu,
Huang Chiungwei,
Fu Pengfei,
Huang Hong,
Zhang Qi,
Wu Xuehai,
Yu Qiong,
Sun Yirui
Publication year - 2023
Publication title -
cns neuroscience and therapeutics
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 1.403
H-Index - 69
eISSN - 1755-5949
pISSN - 1755-5930
DOI - 10.1111/cns.13993
Subject(s) - hypokalemia , medicine , logistic regression , propensity score matching , medical record , traumatic brain injury , retrospective cohort study , overfitting , emergency medicine , machine learning , computer science , psychiatry , artificial neural network
Abstract Aims Hypokalemia is a common complication following traumatic brain injury, which may complicate treatment and lead to unfavorable outcomes. Identifying patients at risk of hypokalemia on the first day of admission helps to implement prophylactic treatment, reduce complications, and improve prognosis. Methods This multicenter retrospective study was performed between January 2017 and December 2020 using the electronic medical records of patients admitted due to traumatic brain injury. A propensity score matching approach was adopted with a ratio of 1:1 to overcome overfitting and data imbalance during subgroup analyses. Five machine learning algorithms were applied to generate a best‐performed prediction model for in‐hospital hypokalemia. The internal fivefold cross‐validation and external validation were performed to demonstrate the interpretability and generalizability. Results A total of 4445 TBI patients were recruited for analysis and model generation. Hypokalemia occurred in 46.55% of recruited patients and the incidences of mild, moderate, and severe hypokalemia were 32.06%, 12.69%, and 1.80%, respectively. Hypokalemia was associated with increased mortality, while severe hypokalemia cast greater impacts. The logistic regression algorithm had the best performance in predicting decreased serum potassium and moderate‐to‐severe hypokalemia, with an AUC of 0.73 ± 0.011 and 0.74 ± 0.019, respectively. The prediction model was further verified using two external datasets, including our previous published data and the open‐assessed Medical Information Mart for Intensive Care database. Linearized calibration curves showed no statistical difference ( p  > 0.05) with perfect predictions. Conclusions The occurrence of hypokalemia following traumatic brain injury can be predicted by first hospitalization day records and machine learning algorithms. The logistic regression algorithm showed an optimal predicting performance verified by both internal and external validation.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here