{
  "abstract": "ObjectiveThis study aimed to develop and temporally validate explainable machine learning models for predicting in-hospital new-onset DFU in hospitalized patients with type 2 diabetes mellitus (T2DM) using routinely available admission variables and inflammatory–nutritional composite indices.MethodsThis retrospective prediction-model study enrolled 550 consecutive hospitalized patients with T2DM admitted between January 2022 and December 2024. Patients admitted during 2022–2023 (n = 400) constituted the development cohort, whereas those admitted in 2024 (n = 150) served as an independent temporal validation cohort. Candidate predictors included demographic characteristics, diabetes duration, routine laboratory biomarkers, ankle–brachial index (ABI), and inflammatory–nutritional composite indices, including neutrophil percentage-to-albumin ratio (NPAR), albumin-to-neutrophil-to-lymphocyte ratio (ANLR), hemoglobin–albumin–lymphocyte–platelet score (HALP), systemic immune-inflammation index (SII), and C-reactive protein-to-albumin ratio (CRP/ALB). Candidate variables were screened using univariable logistic regression followed by least absolute shrinkage and selection operator (LASSO) regression. Logistic regression, random forest, LightGBM, and XGBoost models were developed and evaluated using the area under the receiver operating characteristic curve (AUC), average precision (AP), sensitivity, specificity, F1-score, Brier score, calibration analysis, and decision curve analysis (DCA). Model interpretability was assessed using SHapley Additive exPlanations (SHAP).ResultsDuring hospitalization, 66 patients (12.0%) developed DFU. Eleven predictors were retained after feature selection, including age, diabetes duration, neutrophil percentage, C-reactive protein, high-density lipoprotein cholesterol, glycated hemoglobin, ABI, NPAR, ANLR, HALP, and SII. In the temporal validation cohort, logistic regression had the highest observed discrimination (AUC = 0.976; bootstrap 95% CI, 0.936–0.992), with a sensitivity of 0.944, specificity of 0.932, and F1-score of 0.773 at the prespecified threshold; however, its Hosmer–Lemeshow test indicated evidence of lack of fit (P = 0.001). LightGBM had the lowest Brier score (0.064), whereas XGBoost achieved an AUC of 0.945, a Brier score of 0.067, and a Hosmer–Lemeshow P value of 0.350. At the prespecified thresholds, LightGBM and XGBoost sensitivities were only 0.056 and 0.389, respectively. SHAP analysis identified ANLR, glycated hemoglobin, HALP, age, and SII as the five most influential XGBoost predictors. Because the temporal validation cohort contained only 18 DFU events, these performance estimates should be interpreted cautiously.ConclusionAdmission-based machine learning models showed high observed discrimination for in-hospital DFU risk stratification, but no model was uniformly superior across discrimination, calibration, and threshold-dependent sensitivity. The small number of validation events, possible redundancy among mathematically overlapping predictors, omitted established foot-risk variables, and the low sensitivity of LightGBM and XGBoost at their prespecified thresholds preclude direct use as screening tools. Prospective multicenter validation, formal assessment of predictor redundancy, threshold recalibration, and clinical-impact evaluation are required before implementation.",
  "abstract_shown": true,
  "affiliations": [
    "he Sixth Affiliated Hospital of Xinjiang Medical University, Urumqi, Xinjiang Uygur Autonomous Region, China"
  ],
  "article_type": null,
  "arxiv": null,
  "author_total": 7,
  "authors": [
    {
      "affs": [
        0
      ],
      "name": "Xue Wang"
    },
    {
      "affs": [
        0
      ],
      "name": "Chao Li"
    },
    {
      "affs": [
        0
      ],
      "name": "Yanan Tuo"
    },
    {
      "affs": [
        0
      ],
      "name": "Bo Zhao"
    },
    {
      "affs": [
        0
      ],
      "name": "Ayiding Xiahati"
    },
    {
      "affs": [
        0
      ],
      "name": "Lu Fan"
    },
    {
      "affs": [
        0
      ],
      "name": "Paerhati Wahafu"
    }
  ],
  "bibtex": "https://research.draconitic.com/paper/fwf7k3bdsbdyz.bib",
  "cited_by": 0,
  "doi": "10.3389/fmed.2026.1938429",
  "fulltext_url": "https://www.frontiersin.org/articles/10.3389/fmed.2026.1938429/full",
  "id": "fwf7k3bdsbdyz",
  "issns": [
    "2296-858X"
  ],
  "landing_url": "https://doi.org/10.3389/fmed.2026.1938429",
  "language": "en",
  "licence": "CC-BY",
  "licence_label": "CC BY",
  "licence_source": "journal",
  "licence_url": "https://creativecommons.org/licenses/by/4.0/",
  "metadata_licence": null,
  "native_subjects": [
    [
      "lcc",
      "R5-920"
    ],
    [
      "openalex",
      "2712|Diabetic Foot Ulcer Assessment and Management"
    ]
  ],
  "openalex": "W7223391635",
  "pdf_url": "https://www.frontiersin.org/journals/medicine/articles/10.3389/fmed.2026.1938429/pdf",
  "pmcid": null,
  "pmid": null,
  "published": "2026-10-23",
  "publisher": "Frontiers Media S.A.",
  "ris": "https://research.draconitic.com/paper/fwf7k3bdsbdyz.ris",
  "sources": [
    {
      "first_seen": "2026-10-30T13:44:08Z",
      "native_id": "827447dce9f24d7fadbc744314014d09",
      "source": "doaj",
      "url": "https://doi.org/10.3389/fmed.2026.1938429"
    }
  ],
  "subjects": [
    {
      "field": "medicine",
      "origin": "openalex:2712|Diabetic Foot Ulcer Assessment and Management",
      "subfield": "endocrinology-metabolism"
    }
  ],
  "title": "Development and temporal validation of an explainable machine learning model for predicting in-hospital diabetic foot ulcer in patients with type 2 diabetes using inflammatory–nutritional composite indices",
  "title_text": "Development and temporal validation of an explainable machine learning model for predicting in-hospital diabetic foot ulcer in patients with type 2 diabetes using inflammatory–nutritional composite indices",
  "type": "peer-reviewed",
  "updated_at": "2026-10-30T13:44:08Z",
  "url": "https://research.draconitic.com/paper/fwf7k3bdsbdyz",
  "venue": "Frontiers in Medicine",
  "versions": []
}