BPG is committed to discovery and dissemination of knowledge
Retrospective Cohort Study
Copyright: ©Author(s) 2026. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution-NonCommercial (CC BY-NC 4.0) license. No commercial re-use. See permissions. Published by Baishideng Publishing Group Inc.
World J Diabetes. Nov 15, 2026; 17(11): 124921
Published online Nov 15, 2026. doi: 10.4239/wjd.124921
Explainable machine learning model for predicting minor amputation in diabetic foot ulcers
Zhong-Jing Yang, Jun-Yan Zhao, Shao-Cong Hu, Yi Chen, Yun-Fei Kang, Juan Li, Liang-Chen Wang, Hong-Mei Chen, Zu-Yuan Zhang, Cai-Zhe Yang, Di Zhu
Zhong-Jing Yang, Shao-Cong Hu, Yi Chen, Yun-Fei Kang, Juan Li, Liang-Chen Wang, Hong-Mei Chen, Zu-Yuan Zhang, Cai-Zhe Yang, Di Zhu, Department of Endocrinology, Air Force Medical Center, Beijing 100142, China
Jun-Yan Zhao, Department of Endocrinology, Jilin Hospital, Beijing Anzhen Hospital, Capital Medical University, Changchun 130123, Jilin Province, China
Co-first authors: Zhong-Jing Yang and Jun-Yan Zhao.
Co-corresponding authors: Cai-Zhe Yang and Di Zhu.
Author contributions: Yang ZJ and Zhao JY had primary responsibility for writing the original draft and developing the methodology as co-first authors; Hu SC, Li J, Chen HM, and Zhang ZY conducted the formal analysis; Chen Y and Kang YF were involved in reviewing the writing; Wang LC was responsible for supervision and overall oversight of the study; Yang CZ and Zhu D defined the research theme and revised the manuscript critically as co-corresponding authors; all of the authors read and approved the final version of the manuscript to be published.
AI contribution statement: The authors take full responsibility and accountability for all content of this manuscript. No AI tools were used in any stage of manuscript drafting, data analysis, result interpretation, or conclusion formulation. All text, analyses and scientific conclusions were independently completed, reviewed, validated and approved by all authors.
Supported by National Natural Science Foundation of China, No. 82470389; Capital’s Funds for Health Improvement and Research, No. 2024-4-5122; and Young Talent Program of Air Force Medical Center, No. 22BJQN005.
Institutional review board statement: Data collection for this study was approved by the Medical Ethics Committee of Air Force Medical Center (No. 2024-34-PJ01).
Informed consent statement: This retrospective study was approved by the Ethics Committee, and the requirement for written informed consent was waived due to the retrospective nature.
Conflict-of-interest statement: All authors declare no conflict of interest in publishing the manuscript.
STROBE statement: The authors have read the STROBE Statement – checklist of items, and the manuscript was prepared and revised according to the STROBE Statement – checklist of items.
Data sharing statement: The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.
Corresponding author: Di Zhu, MD, Chief Physician, Department of Endocrinology, Air Force Medical Center, No. 28 Fucheng Road, Beijing 100142, China. judy3481@163.com
Received: June 29, 2026
Revised: August 3, 2026
Accepted: October 20, 2026
Published online: November 15, 2026
Processing time: 132 Days and 3.2 Hours
Abstract
BACKGROUND

Minor amputations severely impact the quality of life in patients with diabetic foot ulcers (DFUs), yet early and transparent risk stratification tools remain limited.

AIM

To identify clinical risk factors and develop an explainable machine learning model for predicting minor amputation within 3 months after admission in patients with DFUs, and to apply SHapley Additive exPlanations (SHAP) analysis to interpret the model’s predictions.

METHODS

A total of 685 patients with DFUs were enrolled and randomly partitioned into training and validation sets based on minor amputation status within 3 months after admission. Predictive factors were identified using least absolute shrinkage and selection operator regression. Six machine learning algorithms were trained and compared, with the optimal model selected based on the area under the receiver operating characteristic curve. SHAP analysis was applied to evaluate model interpretability and feature importance.

RESULTS

Least absolute shrinkage and selection operator regression identified four independent predictors of minor amputation: (1) Fibrinogen (FIB); (2) Pedal vessel calcification (PVC); (3) Albumin (ALB); and (4) The C-reactive protein-ALB-lymphocyte (CALLY) index (all P < 0.05). Subsequent model comparison revealed the random forest model as the best predictive model, achieving area under the receiver operating characteristic curves of 0.844 (95%CI: 0.810-0.878) in the training set and 0.766 (95%CI: 0.700-0.828) in the validation set. SHAP analysis confirmed that FIB made the greatest contribution to the model’s prediction, followed by the CALLY index, ALB, and PVC, with elevated FIB and a reduced CALLY index strongly driving higher predicted risk.

CONCLUSION

A random forest model including FIB, PVC, serum ALB, and the CALLY index demonstrates significant potential for the early prediction of minor amputation in patients with DFUs, providing clinicians with a transparent and interpretable tool to optimize risk stratification.

Keywords: Diabetic foot ulcers; Minor amputation; Clinical prediction model; Machine learning; C-reactive protein-albumin-lymphocyte index; SHapley Additive exPlanations

Core Tip: This study developed and validated an explainable machine learning model to predict minor amputation within 3 months of admission in patients with diabetic foot ulcers. Among six compared algorithms, the random forest model performed best (validation area under the receiver operating characteristic curve = 0.766), identifying fibrinogen, pedal vessel calcification, albumin, and the C-reactive protein-albumin-lymphocyte index as independent predictors. SHapley Additive exPlanations analysis provided visual, patient-level interpretation of feature contributions. The model relies exclusively on routinely available laboratory and radiographic variables, offering a practical and objective tool for early risk stratification that may help clinicians identify high-risk patients with diabetic foot ulcers and initiate timely targeted interventions.

Write to the Help Desk