{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,3]],"date-time":"2026-09-03T06:12:46Z","timestamp":1788415966747,"version":"build-2803163510"},"reference-count":40,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2026,9,3]],"date-time":"2026-09-03T00:00:00Z","timestamp":1788393600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Endocrinol."],"abstract":"<jats:sec>\n                    <jats:title>Background<\/jats:title>\n                    <jats:p>Diabetic nephropathy (DN) and diabetic retinopathy (DR) are common microvascular complications of type 2 diabetes mellitus (T2DM) and may require different diagnostic and management pathways. This study aimed to develop and validate an interpretable machine learning model based on routine laboratory data to differentiate prevalent DN from prevalent DR among hospitalized patients with type 2 diabetes.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Methods<\/jats:title>\n                    <jats:p>Data were collected from a large tertiary hospital in China and split into a training\/internal validation cohort (DN: 2,309 cases; DR: 855 cases) and an independent held-out validation cohort (DN: 578 cases; DR: 214 cases). A total of 47 routinely available laboratory and demographic variables were extracted from electronic health records (EHRs). Seven machine learning algorithms were developed and compared, with recursive feature elimination (RFE) employed to identify the most informative subset of features and enhance model performance and interpretability. Model discrimination was assessed using the area under the receiver operating characteristic curve (AUC) and the area under the precision-recall curve (AP), while SHAP values were used to interpret feature importance and explain individual-level predictions.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Results<\/jats:title>\n                    <jats:p>The extreme gradient boosting (XGBoost) classifier demonstrated the highest predictive performance among the seven machine learning algorithms evaluated. After selecting the top five features based on importance rankings, an explainable XGBoost model was constructed. This final model achieved strong apparent discrimination in both the training\/internal validation cohort (AUC\u00a0=\u00a00.991, 95% CI: 0.989-0.994; AP\u00a0=\u00a00.979, 95% CI: 0.973-0.984) and the held-out validation cohort (AUC\u00a0=\u00a00.997, 95% CI: 0.996-0.999; AP\u00a0=\u00a00.993, 95% CI: 0.988-0.997). SHAP analysis further identified \u03b1-hydroxybutyrate dehydrogenase, creatine kinase-MB, creatinine, urinary \u03b11-microglobulin, and N-acetyl-\u03b2-D-glucosaminidase as the most influential features contributing to complication risk prediction.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Conclusions<\/jats:title>\n                    <jats:p>An explainable machine learning model for predicting complications in patients with T2DM demonstrated high feasibility and effectiveness, indicating strong potential to support clinical management and improve patient outcomes. By incorporating SHAP analyses, the model addresses key concerns regarding transparency and clinical decision-making. These findings highlight the model\u2019s potential for real-world clinical implementation.<\/jats:p>\n                  <\/jats:sec>","DOI":"10.3389\/fendo.2026.1902508","type":"journal-article","created":{"date-parts":[[2026,9,3]],"date-time":"2026-09-03T05:16:11Z","timestamp":1788412571000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Development and validation of an explainable machine learning model for differentiating diabetic nephropathy from diabetic retinopathy in patients with type 2 diabetes"],"prefix":"10.3389","volume":"17","author":[{"given":"Yonglin","family":"Zhang","sequence":"first","affiliation":[{"name":"Department of Pharmacy, Affiliated Hospital of North Sichuan Medical College","place":["Nanchong, Sichuan, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Siyu","family":"Feng","sequence":"additional","affiliation":[{"name":"Department of Public Health, Nanchong Mental Health Center Of Sichuan Province","place":["Nanchong, Sichuan, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yukun","family":"Xue","sequence":"additional","affiliation":[{"name":"School of Public Health, Southwest Medical University","place":["Luzhou, Sichuan, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Li","family":"Xue","sequence":"additional","affiliation":[{"name":"School of Public Health, Southwest Medical University","place":["Luzhou, Sichuan, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jiesi","family":"Luo","sequence":"additional","affiliation":[{"name":"School of Basic Medical Science, Southwest Medical University","place":["Luzhou, Sichuan, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2026,9,3]]},"reference":[{"key":"B1","doi-asserted-by":"publisher","DOI":"10.1016\/s0140-6736(23)01301-6","article-title":"Global, regional, and national burden of diabetes from 1990 to 2021, with projections of prevalence to 2050: A systematic analysis for the Global Burden of Disease Study 2021","volume":"402","year":"2023","journal-title":"Lancet"},{"key":"B2","doi-asserted-by":"publisher","DOI":"10.3389\/fendo.2023.1192629","article-title":"The global, regional and national burden of type 2 diabetes mellitus in the past, present and future: A systematic analysis of the Global Burden of Disease Study 2019","volume":"14","author":"Ye","year":"2023","journal-title":"Front Endocrinol (Lausanne)"},{"key":"B3","doi-asserted-by":"publisher","DOI":"10.1016\/s0140-6736(24)00933-4","article-title":"Global burden and strength of evidence for 88 risk factors in 204 countries and 811 subnational locations, 1990-2021: A systematic analysis for the Global Burden of Disease Study 2021","volume":"403","year":"2024","journal-title":"Lancet"},{"key":"B4","doi-asserted-by":"publisher","DOI":"10.1016\/j.diabres.2021.109119","article-title":"Idf diabetes atlas: Global, regional and country-level diabetes prevalence estimates for 2021 and projections for 2045","volume":"183","author":"Sun","year":"2022","journal-title":"Diabetes Res Clin Pract"},{"key":"B5","doi-asserted-by":"publisher","DOI":"10.1016\/S2468-2667(24)00251-2","article-title":"Diabetes in China part 2: Prevention, challenges, and progress","volume":"9","author":"Xu","year":"2024","journal-title":"Lancet Public Health"},{"key":"B6","doi-asserted-by":"publisher","first-page":"17299","DOI":"10.1038\/s41598-025-02559-x","article-title":"Prevalence and impact of sociodemographic factors, comorbidities, and lifestyle on diabetes complications among patients with type 2 diabetes in Riyadh","volume":"15","author":"AlOmeir","year":"2025","journal-title":"Sci Rep"},{"key":"B7","doi-asserted-by":"publisher","DOI":"10.1007\/s12020-025-04337-1","article-title":"Global, regional, and national burden and trends of type 2 diabetes mellitus among women of childbearing age from 1990 to 2021, with projections to 2030: A systematic analysis for the Global Burden of Disease Study 2021","volume":"90","author":"Kong","year":"2025","journal-title":"Endocrine"},{"key":"B8","doi-asserted-by":"publisher","DOI":"10.2337\/dc17-1962","article-title":"Global economic burden of diabetes in adults: Projections from 2015 to 2030","volume":"41","author":"Bommer","year":"2018","journal-title":"Diabetes Care"},{"key":"B9","doi-asserted-by":"publisher","DOI":"10.3389\/fendo.2025.1611499","article-title":"Development and validation of an explainable machine learning model for predicting osteoporosis in patients with type 2 diabetes mellitus","volume":"16","author":"Wei","year":"2025","journal-title":"Front Endocrinol (Lausanne)"},{"key":"B10","doi-asserted-by":"publisher","DOI":"10.3389\/fendo.2024.1336123","article-title":"Parallelism and non-parallelism in diabetic nephropathy and diabetic retinopathy","volume":"15","author":"Tang","year":"2024","journal-title":"Front Endocrinol (Lausanne)"},{"key":"B11","doi-asserted-by":"publisher","DOI":"10.1007\/s00592-020-01506-8","article-title":"Fundamental principles of an effective diabetic retinopathy screening program","volume":"57","author":"Lanzetta","year":"2020","journal-title":"Acta Diabetol"},{"key":"B12","doi-asserted-by":"publisher","DOI":"10.1016\/s2214-109x(13)70113-x","article-title":"Causes of vision loss worldwide, 1990-2010: A systematic analysis","volume":"1","author":"Bourne","year":"2013","journal-title":"Lancet Glob Health"},{"key":"B13","doi-asserted-by":"publisher","DOI":"10.3389\/fendo.2022.1077669","article-title":"Diabetic retinopathy: Looking forward to 2030","volume":"13","author":"Tan","year":"2022","journal-title":"Front Endocrinol (Lausanne)"},{"key":"B14","doi-asserted-by":"publisher","DOI":"10.1136\/bmjdrc-2019-000726","article-title":"Retinopathy progression and the risk of end-stage kidney disease: Results from a longitudinal Japanese cohort of 232 patients with type 2 diabetes and biopsy-proven diabetic kidney disease","volume":"7","author":"Yamanouchi","year":"2019","journal-title":"BMJ Open Diabetes Res Care"},{"key":"B15","doi-asserted-by":"publisher","DOI":"10.3389\/fimmu.2020.583687","article-title":"The role of inflammation in diabetic retinopathy","volume":"11","author":"Forrester","year":"2020","journal-title":"Front Immunol"},{"key":"B16","doi-asserted-by":"publisher","DOI":"10.1142\/s0192415x22500744","article-title":"A review of traditional Chinese medicine on treatment of diabetic nephropathy and the involved mechanisms","volume":"50","author":"Liu","year":"2022","journal-title":"Am J Chin Med"},{"key":"B17","doi-asserted-by":"publisher","DOI":"10.1097\/01.Asn.0000136133.28194.E4","article-title":"Retinal microvascular abnormalities and renal dysfunction: The Atherosclerosis Risk in Communities Study","volume":"15","author":"Wong","year":"2004","journal-title":"J Am Soc Nephrol"},{"key":"B18","doi-asserted-by":"publisher","first-page":"580","DOI":"10.1038\/s42003-022-03448-z","article-title":"Differential and shared genetic effects on kidney function between diabetic and non-diabetic individuals","volume":"5","author":"Winkler","year":"2022","journal-title":"Commun Biol"},{"key":"B19","doi-asserted-by":"publisher","first-page":"7","DOI":"10.1055\/a-2435-8264","article-title":"Diabetic nephropathy: Pathogenesis, mechanisms, and therapeutic strategies","volume":"57","author":"Dwivedi","year":"2025","journal-title":"Horm Metab Res"},{"key":"B20","doi-asserted-by":"publisher","DOI":"10.4239\/wjd.v5.i3.342","article-title":"Clinical therapeutic strategies for early stage of diabetic kidney disease","volume":"5","author":"Kitada","year":"2014","journal-title":"World J Diabetes"},{"key":"B21","doi-asserted-by":"publisher","DOI":"10.1001\/jama.2015.18202","article-title":"Multinational assessment of accuracy of equations for predicting risk of kidney failure: A meta-analysis","volume":"315","author":"Tangri","year":"2016","journal-title":"Jama"},{"key":"B22","doi-asserted-by":"publisher","DOI":"10.7326\/annals-24-01926","article-title":"Evaluation and management of chronic kidney disease: Synopsis of the Kidney Disease: Improving Global Outcomes 2024 Clinical Practice Guideline","volume":"178","author":"Madero","year":"2025","journal-title":"Ann Intern Med"},{"key":"B23","doi-asserted-by":"publisher","first-page":"689","DOI":"10.1016\/j.mcna.2023.03.004","article-title":"Diabetic kidney disease: An update","volume":"107","author":"Gupta","year":"2023","journal-title":"Med Clin North Am"},{"key":"B24","doi-asserted-by":"publisher","DOI":"10.2337\/dc25-S015","article-title":"Management of diabetes in pregnancy: Standards of care in diabetes-2025","volume":"48","year":"2025","journal-title":"Diabetes Care"},{"key":"B25","doi-asserted-by":"publisher","DOI":"10.1055\/s-0039-1679951","article-title":"Value of interventional radiology: Past, present, and future","volume":"36","author":"Doherty","year":"2019","journal-title":"Semin Intervent Radiol"},{"key":"B26","doi-asserted-by":"publisher","DOI":"10.1093\/ckj\/sfx102","article-title":"Trends and outcomes of the use of percutaneous native kidney biopsy in the United States: 5-year data analysis of the Nationwide Inpatient Sample","volume":"11","author":"Al Turk","year":"2018","journal-title":"Clin Kidney J"},{"key":"B27","doi-asserted-by":"publisher","DOI":"10.1111\/jdi.13482","article-title":"Preoperative fundus examination in patients with diabetes scheduled for surgery","volume":"12","author":"Watanabe","year":"2021","journal-title":"J Diabetes Investig"},{"key":"B28","doi-asserted-by":"publisher","DOI":"10.1089\/dia.2021.0253","article-title":"A risk stratification approach to allocating diabetes education and support services","volume":"24","author":"Zupa","year":"2022","journal-title":"Diabetes Technol Ther"},{"key":"B29","doi-asserted-by":"publisher","first-page":"104","DOI":"10.1007\/s40200-025-01596-7","article-title":"Artificial intelligence for early detection of diabetes mellitus complications via retinal imaging","volume":"24","author":"Sobhi","year":"2025","journal-title":"J Diabetes Metab Disord"},{"key":"B30","doi-asserted-by":"publisher","first-page":"295","DOI":"10.1177\/1932296817706375","article-title":"Machine learning methods to predict diabetes complications","volume":"12","author":"Dagliati","year":"2018","journal-title":"J Diabetes Sci Technol"},{"key":"B31","doi-asserted-by":"publisher","DOI":"10.1136\/bmj-2023-078378","article-title":"TRIPOD+AI statement: Updated guidance for reporting clinical prediction models that use regression or machine learning methods","volume":"385","author":"Collins","year":"2024","journal-title":"BMJ"},{"key":"B32","doi-asserted-by":"publisher","first-page":"349","DOI":"10.1186\/s13054-024-05138-0","article-title":"Interpretable machine learning model for new-onset atrial fibrillation prediction in critically ill patients: A multi-center study","volume":"28","author":"Guan","year":"2024","journal-title":"Crit Care"},{"key":"B33","doi-asserted-by":"publisher","DOI":"10.1161\/strokeaha.118.024293","article-title":"Machine learning-based model for prediction of outcomes in acute stroke","volume":"50","author":"Heo","year":"2019","journal-title":"Stroke"},{"key":"B34","doi-asserted-by":"publisher","DOI":"10.1016\/j.jenvman.2023.119866","article-title":"Optimisation and interpretation of machine and deep learning models for improved water quality management in Lake Loktak","volume":"351","author":"Talukdar","year":"2024","journal-title":"J Environ Manage"},{"key":"B35","doi-asserted-by":"publisher","DOI":"10.1016\/j.eclinm.2025.103069","article-title":"Prediction model for type 2 diabetes mellitus and its association with mortality using machine learning in three independent cohorts from South Korea, Japan, and the UK: A model development and validation study","volume":"80","author":"Lee","year":"2025","journal-title":"EClinicalMedicine"},{"key":"B36","doi-asserted-by":"publisher","DOI":"10.3389\/fendo.2024.1376220","article-title":"Identifying diagnostic indicators for type 2 diabetes mellitus from physical examination using interpretable machine learning approach","volume":"15","author":"Lv","year":"2024","journal-title":"Front Endocrinol (Lausanne)"},{"key":"B37","doi-asserted-by":"publisher","DOI":"10.1016\/j.ymeth.2024.07.001","article-title":"Machine learning-based prediction of diabetic patients using blood routine data","volume":"229","author":"Li","year":"2024","journal-title":"Methods"},{"key":"B38","doi-asserted-by":"publisher","first-page":"3043","DOI":"10.1038\/s41467-021-23311-9","article-title":"Predicting optimal deep brain stimulation parameters for Parkinson's disease using functional MRI and machine learning","volume":"12","author":"Boutet","year":"2021","journal-title":"Nat Commun"},{"key":"B39","doi-asserted-by":"publisher","DOI":"10.1038\/s41586-021-04043-8","article-title":"Disease variant prediction with deep generative models of evolutionary data","volume":"599","author":"Frazer","year":"2021","journal-title":"Nature"},{"key":"B40","doi-asserted-by":"publisher","DOI":"10.1007\/s00395-023-00982-7","article-title":"A cardiologist's guide to machine learning in cardiovascular disease prognosis prediction","volume":"118","author":"Kresoja","year":"2023","journal-title":"Basic Res Cardiol"}],"container-title":["Frontiers in Endocrinology"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fendo.2026.1902508\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,3]],"date-time":"2026-09-03T05:16:12Z","timestamp":1788412572000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fendo.2026.1902508\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,9,3]]},"references-count":40,"alternative-id":["10.3389\/fendo.2026.1902508"],"URL":"https:\/\/doi.org\/10.3389\/fendo.2026.1902508","relation":{},"ISSN":["1664-2392"],"issn-type":[{"value":"1664-2392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,9,3]]},"article-number":"1902508"}}