Development and Validation of an XGBoost-Based Machine Learning Model With Nomogram for Predicting Diabetic Peripheral Neuropathy Risk in Type 2 Diabetes Patients.

IF 2.2 Q2 MEDICINE, GENERAL & INTERNAL
Journal of clinical medicine research Pub Date : 2026-07-31 eCollection Date: 2026-07-01 DOI:10.14740/jocmr6642
Ning Yao, Ke Ke Zhang
{"title":"Development and Validation of an XGBoost-Based Machine Learning Model With Nomogram for Predicting Diabetic Peripheral Neuropathy Risk in Type 2 Diabetes Patients.","authors":"Ning Yao, Ke Ke Zhang","doi":"10.14740/jocmr6642","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>The study aimed to develop risk stratification models for diabetic peripheral neuropathy (DPN) in patients with type 2 diabetes mellitus (T2DM) using multiple machine learning algorithms, identify the optimal model, and visualize it through a nomogram, thereby providing a clinical decision-support tool for the early identification of high-risk individuals.</p><p><strong>Methods: </strong>A retrospective analysis was conducted on 180 inpatients diagnosed with T2DM at the Endocrinology Department of our hospital from January 2021 to September 2024, including 88 patients with DPN (48.9%) and 92 patients without DPN (51.1%). All enrolled participants were randomly divided into a training cohort (n = 126) and an internal validation cohort (n = 54) at a 7:3 stratified ratio. Collected clinical variables covered demographic profiles (age, gender, diabetes duration), anthropometric indicators (body mass index (BMI)), and multiple laboratory biomarkers. Five predictive algorithms were adopted for model construction, namely logistic regression (LR), random forest (RF), extreme gradient boosting (XGBoost), support vector machine (SVM), and decision tree (DT). Model predictive efficacy was comprehensively assessed using receiver operating characteristic (ROC) curves, calibration curves, decision curve analysis (DCA), and SHapley Additive exPlanations (SHAP) interpretability analysis. A visual nomogram was finally developed based on the best-performing model.</p><p><strong>Results: </strong>Multivariate regression analysis screened out six independent predictive factors for DPN occurrence, including diabetes duration, glycated hemoglobin (HbA1c), microalbuminuria (MAU), low-density lipoprotein cholesterol (LDL-C), neutrophil percentage (NEUT%), and BMI (all P < 0.05). Among all established models, the XGBoost algorithm yielded the best predictive outcomes in internal validation, with an area under the curve (AUC) of 0.903 (95% confidence interval (CI): 0.816-0.986), accuracy of 85.2%, sensitivity of 84.6%, and specificity of 85.7%. Its predictive efficacy was numerically superior to that of RF (AUC = 0.808), LR (AUC = 0.838), SVM (AUC = 0.884), and DT (AUC = 0.814). SHAP analysis further identified diabetes duration, HbA1c, and MAU as the most influential predictors for DPN risk. The nomogram established based on these core variables achieved a validation AUC of 0.85, with favorable calibration efficiency (Hosmer-Lemeshow P = 0.512) and positive net clinical benefit across a wide range of threshold probabilities.</p><p><strong>Conclusion: </strong>The XGBoost-based model shows favorable preliminary performance for cross-sectional DPN risk stratification in T2DM patients based on internal hold-out validation, outperforming traditional statistical approaches. Combined with SHAP interpretability and nomogram visualization, this model provides an exploratory clinical tool for early identification of potential high-risk individuals, requiring further external validation before clinical application.</p>","PeriodicalId":94329,"journal":{"name":"Journal of clinical medicine research","volume":"18 7","pages":"472-488"},"PeriodicalIF":2.2000,"publicationDate":"2026-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13456936/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of clinical medicine research","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.14740/jocmr6642","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/7/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"MEDICINE, GENERAL & INTERNAL","Score":null,"Total":0}
引用次数: 0

Abstract

Background: The study aimed to develop risk stratification models for diabetic peripheral neuropathy (DPN) in patients with type 2 diabetes mellitus (T2DM) using multiple machine learning algorithms, identify the optimal model, and visualize it through a nomogram, thereby providing a clinical decision-support tool for the early identification of high-risk individuals.

Methods: A retrospective analysis was conducted on 180 inpatients diagnosed with T2DM at the Endocrinology Department of our hospital from January 2021 to September 2024, including 88 patients with DPN (48.9%) and 92 patients without DPN (51.1%). All enrolled participants were randomly divided into a training cohort (n = 126) and an internal validation cohort (n = 54) at a 7:3 stratified ratio. Collected clinical variables covered demographic profiles (age, gender, diabetes duration), anthropometric indicators (body mass index (BMI)), and multiple laboratory biomarkers. Five predictive algorithms were adopted for model construction, namely logistic regression (LR), random forest (RF), extreme gradient boosting (XGBoost), support vector machine (SVM), and decision tree (DT). Model predictive efficacy was comprehensively assessed using receiver operating characteristic (ROC) curves, calibration curves, decision curve analysis (DCA), and SHapley Additive exPlanations (SHAP) interpretability analysis. A visual nomogram was finally developed based on the best-performing model.

Results: Multivariate regression analysis screened out six independent predictive factors for DPN occurrence, including diabetes duration, glycated hemoglobin (HbA1c), microalbuminuria (MAU), low-density lipoprotein cholesterol (LDL-C), neutrophil percentage (NEUT%), and BMI (all P < 0.05). Among all established models, the XGBoost algorithm yielded the best predictive outcomes in internal validation, with an area under the curve (AUC) of 0.903 (95% confidence interval (CI): 0.816-0.986), accuracy of 85.2%, sensitivity of 84.6%, and specificity of 85.7%. Its predictive efficacy was numerically superior to that of RF (AUC = 0.808), LR (AUC = 0.838), SVM (AUC = 0.884), and DT (AUC = 0.814). SHAP analysis further identified diabetes duration, HbA1c, and MAU as the most influential predictors for DPN risk. The nomogram established based on these core variables achieved a validation AUC of 0.85, with favorable calibration efficiency (Hosmer-Lemeshow P = 0.512) and positive net clinical benefit across a wide range of threshold probabilities.

Conclusion: The XGBoost-based model shows favorable preliminary performance for cross-sectional DPN risk stratification in T2DM patients based on internal hold-out validation, outperforming traditional statistical approaches. Combined with SHAP interpretability and nomogram visualization, this model provides an exploratory clinical tool for early identification of potential high-risk individuals, requiring further external validation before clinical application.

基于xgboost的机器学习模型与Nomogram预测2型糖尿病周围神经病变风险的开发与验证
背景:本研究旨在利用多种机器学习算法建立2型糖尿病(T2DM)患者糖尿病周围神经病变(DPN)的风险分层模型,确定最优模型,并通过nomogram可视化,从而为早期识别高危人群提供临床决策支持工具。方法:回顾性分析我院内分泌科2021年1月至2024年9月诊断为2型糖尿病的住院患者180例,其中合并DPN患者88例(48.9%),非DPN患者92例(51.1%)。所有入组的参与者按7:3的分层比例随机分为训练队列(n = 126)和内部验证队列(n = 54)。收集的临床变量包括人口统计资料(年龄、性别、糖尿病病程)、人体测量指标(身体质量指数(BMI))和多种实验室生物标志物。模型构建采用了逻辑回归(LR)、随机森林(RF)、极端梯度增强(XGBoost)、支持向量机(SVM)和决策树(DT)五种预测算法。采用受试者工作特征(ROC)曲线、校准曲线、决策曲线分析(DCA)和SHapley加性解释(SHAP)可解释性分析综合评价模型预测效果。最后根据表现最好的模型开发了一个视觉nomogram。结果:多因素回归分析筛选出糖尿病病程、糖化血红蛋白(HbA1c)、微量蛋白尿(MAU)、低密度脂蛋白胆固醇(LDL-C)、中性粒细胞百分比(NEUT%)、BMI 6个预测DPN发生的独立因素(P均< 0.05)。在所有已建立的模型中,XGBoost算法在内部验证中的预测结果最好,曲线下面积(AUC)为0.903(95%置信区间(CI)为0.816 ~ 0.986),准确率为85.2%,灵敏度为84.6%,特异性为85.7%。其预测效果在数值上优于RF (AUC = 0.808)、LR (AUC = 0.838)、SVM (AUC = 0.884)和DT (AUC = 0.814)。SHAP分析进一步确定糖尿病病程、HbA1c和MAU是最具影响力的DPN风险预测因子。基于这些核心变量建立的诺形图的验证AUC为0.85,具有良好的校准效率(Hosmer-Lemeshow P = 0.512),并且在广泛的阈值概率范围内具有积极的净临床效益。结论:基于xgboost的模型在基于内部滞留验证的T2DM患者DPN横断面风险分层中显示出良好的初步性能,优于传统的统计方法。结合SHAP可解释性和nomogram可视化,该模型为早期识别潜在高危人群提供了一种探索性的临床工具,在临床应用前需要进一步的外部验证。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
5.10
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书