收藏切换
Construction and validation of a machine learning-based risk assessment model for post-transplant diabetes mellitus
收藏切换
Hao Wang1, 2, Yongqiang Fan1, Zhiyong Shi1, Rui Zhang1, Yan Wang1, Jun Xu1
Journal of Clinical Hepatology | 2026, 42(8) : 1894 - 1901
Less
收藏切换
Journal of Clinical Hepatology | 2026, 42(8): 1894-1901
• Other Liver Disease •
Construction and validation of a machine learning-based risk assessment model for post-transplant diabetes mellitus
Full
Hao Wang1, 2, Yongqiang Fan1, Zhiyong Shi1, Rui Zhang1, Yan Wang1, Jun Xu1
Affiliations
  • 1Department of Hepatobiliary Surgery and Liver Transplant Center,The First Hospital of Shanxi Medical University,Taiyuan 030001,China
  • 2The First Clinical Medical College of Shanxi Medical University,Taiyuan 030001,China
Published: 2026-08-25 doi: 10.12449/JCH260822
Outline
收藏切换
Objective

To construct and validate a risk assessment model for post-transplant diabetes mellitus (PTDM) using multiple machine learning algorithms,and to realize the early identification of PTDM.

Methods

A retrospective analysis was performed for the clinical data of the patients who underwent allogeneic liver transplantation in The First Hospital of Shanxi Medical University from April 1,2020 to December 31,2024,and they were randomly divided into a training set and a validation set at a ratio of 7∶3. The LASSO regression analysis combined with 5-fold cross-validation was used for feature selection. Seven machine learning models were developed in the training set,i.e.,logistic regression (LR),decision tree (DT),Naive Bayes (NB),random forest (RF),K-nearest neighbor (KNN),extreme gradient boosting (XGBoost),and adaptive boosting (AdaBoost). In the validation set,various methods were used to assess the predictive performance of each model,such as accuracy,precision,recall rate,specificity,F1 score,area under the receiver operating characteristic curve (AUROC),and area under the precision-recall curve (AUPRC). The Brier score and decision curve analysis were used to assess the calibration and clinical practicability of the models,and the SHAP method was used to analyze feature importance. The independent-samples t test or the Wilcoxon rank-sum test was used for comparison of continuous data between two groups,and the chi-square test or the Fisher’s exact test was used for comparison of categorical data between two groups.

Results

A total of 135 liver transplant recipients were enrolled,among whom 26 developed PTDM,and there were 94 patients in the training set and 41 in the validation set. Feature extraction and screening identified 7 key features of sex,overweight or obesity,anhepatic phase,time of operation,length of hospital stay,early postoperative hypomagnesemia,and impaired fasting glucose (IFG). In the validation set,the XGBoost model showed the best predictive performance,with an AUROC of 0.907 (95% confidence interval [CI]:0.807 — 0.989),an AUPRC of 0.649 (95%CI:0.339 — 0.955),an accuracy of 0.878,a precision of 0.667,a recall rate of 0.750,an F1-score of 0.706,a specificity of 0.909,and a Brier score of 0.104. The decision curve analysis showed that when the threshold probability was below 0.667,application of the XGBoost model in clinical decision-making provided relatively high net benefit. The SHAP analysis showed that the length of hospital stay ranked first in terms of feature importance,followed by time of operation,overweight or obesity,sex,IFG,anhepatic phase,and early postoperative hypomagnesemia.

Conclusion

The risk assessment model for PTDM in liver transplant recipients based on XGBoost algorithm has excellent performance and can effectively identify high-risk individuals; however,multicenter large-sample data are needed for further validation.

Liver Transplantation  /  Diabetes Mellitus  /  Machine Learning  /  Models,Statistical
王浩, 樊永强, 史志勇, 张瑞, 王妍, 徐钧. 基于机器学习的肝移植术后糖尿病风险评估模型的构建与验证. 临床肝胆病杂志, 2026 , 42 (8) : 1894 -1901 . DOI: 10.12449/JCH260822
Hao Wang, Yongqiang Fan, Zhiyong Shi, Rui Zhang, Yan Wang, Jun Xu. Construction and validation of a machine learning-based risk assessment model for post-transplant diabetes mellitus[J]. Journal of Clinical Hepatology, 2026 , 42 (8) : 1894 -1901 . DOI: 10.12449/JCH260822
Year 2026 volume 42 Issue 8
143
53
Cite this Article
BibTeX
Article Info
doi: 10.12449/JCH260822
  • Receive Date:2026-02-03
  • Online Date:2026-10-16
  • Published:2026-08-25
Article Data
Affiliations
History
  • Received:2026-02-03
  • Accepted:2026-04-10
Affiliations
    1Department of Hepatobiliary Surgery and Liver Transplant Center,The First Hospital of Shanxi Medical University,Taiyuan 030001,China
    2The First Clinical Medical College of Shanxi Medical University,Taiyuan 030001,China
References
Share
https://castjournals.cast.org.cn/joweb/lcgdbzz/EN/10.12449/JCH260822
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT