Background <p>Hypoglycemia is a serious complication of diabetes. Early recognition of hypoglycemia can improve clinical prognosis, however, traditional diagnostic tools are often limited. Machine learning offers a promising approach for predicting adverse outcomes in diabetic patients.</p> Objective <p>This study aims to develop and validate machine learning-based models to predict the risk of hypoglycemia in type 2 diabetes mellitus (T2DM) patients.</p> Methods <p>A cohort study design was employed. Clinical data were collected from the electronic health record system. The dataset was randomly partitioned into training and validation subsets using a 7:3 ratio. Four machine learning algorithms, logistic regression (LR), Extreme Gradient Boosting (XGBoost), random forest (RF), and support vector machine (SVM) were implemented to develop hypoglycemia risk prediction models. Predictive performance was assessed using sensitivity, specificity, accuracy, precision, F1 score, and the area under the receiver operating characteristic curve (AUC).</p> Results <p>831 T2DM patients were included, the hypoglycemia incidence was 22.0%. In the training cohort, the AUC for the LR, XGBoost, SVM, and RF models were 0.82, 0.86, 0.84, and 0.80, and corresponding AUCs were 0.76, 0.78, 0.72, and 0.75 in the validation cohort. The XGBoost demonstrated the highest overall predictive performance. Feature importance analysis based on the XGBoost model identified creatinine, triglycerides, albumin, HbA1c, C-peptide, aspartate aminotransferase, hemoglobin, and sulfonylurea use as the most influential predictors of hypoglycemia risk.</p> Conclusions <p>The XGBoost model exhibited superior predictive performance for achieving the higher AUC, F1 score, greater accuracy, sensitivity and specificity. This model enables effective identification of T2DM patients who may require intensified monitoring or targeted interventions to prevent hypoglycemic events.</p> Clinical trial number <p>Not applicable.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Electronic health record-derived machine learning model for hypoglycemia risk prediction in type 2 diabetes mellitus patients: development and validation

  • Qian Ran,
  • Xia Qi,
  • Li Liu,
  • Yunqiu Luo,
  • Hong Cheng,
  • Weiwei Xu,
  • Xili Zhao

摘要

Background

Hypoglycemia is a serious complication of diabetes. Early recognition of hypoglycemia can improve clinical prognosis, however, traditional diagnostic tools are often limited. Machine learning offers a promising approach for predicting adverse outcomes in diabetic patients.

Objective

This study aims to develop and validate machine learning-based models to predict the risk of hypoglycemia in type 2 diabetes mellitus (T2DM) patients.

Methods

A cohort study design was employed. Clinical data were collected from the electronic health record system. The dataset was randomly partitioned into training and validation subsets using a 7:3 ratio. Four machine learning algorithms, logistic regression (LR), Extreme Gradient Boosting (XGBoost), random forest (RF), and support vector machine (SVM) were implemented to develop hypoglycemia risk prediction models. Predictive performance was assessed using sensitivity, specificity, accuracy, precision, F1 score, and the area under the receiver operating characteristic curve (AUC).

Results

831 T2DM patients were included, the hypoglycemia incidence was 22.0%. In the training cohort, the AUC for the LR, XGBoost, SVM, and RF models were 0.82, 0.86, 0.84, and 0.80, and corresponding AUCs were 0.76, 0.78, 0.72, and 0.75 in the validation cohort. The XGBoost demonstrated the highest overall predictive performance. Feature importance analysis based on the XGBoost model identified creatinine, triglycerides, albumin, HbA1c, C-peptide, aspartate aminotransferase, hemoglobin, and sulfonylurea use as the most influential predictors of hypoglycemia risk.

Conclusions

The XGBoost model exhibited superior predictive performance for achieving the higher AUC, F1 score, greater accuracy, sensitivity and specificity. This model enables effective identification of T2DM patients who may require intensified monitoring or targeted interventions to prevent hypoglycemic events.

Clinical trial number

Not applicable.