Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 21 min ago
Peer-reviewedCC BY 4.0Frontiers in Endocrinology

Development and external validation of an interpretable machine learning model for identifying prevalent metabolic dysfunction-associated steatotic liver disease in patients with early-onset type 2 diabetes

  1. 1Department of General Practice, The Affiliated Hospital of Qingdao University

Abstract

Objective: Patients with early-onset type 2 diabetes mellitus (EOT2D) are at high risk of metabolic dysfunction-associated steatotic liver disease (MASLD), yet interpretable tools for estimating prevalent MASLD in this population are lacking. We developed and externally validated an interpretable machine learning model using routinely available clinical variables to prompt consideration of liver ultrasonography at the index visit.

Methods: We included 1,322 outpatients and inpatients with EOT2D (907 [68.6%] with prevalent MASLD), divided 7:3 into training (n = 925) and internal test (n = 397) sets. After multiple imputation by chained equations (m = 5), 68 candidate variables underwent least absolute shrinkage and selection operator regression, Boruta selection, and collinearity screening (variance inflation factor < 5). Eight machine learning models were tuned by 10-fold cross-validation. The final model was selected on the basis of internal discrimination and calibration, interpreted with Shapley additive explanations (SHAP), and externally validated in 515 patients (68.0% with MASLD) from four affiliated community hospitals in the same region.

Results: Twelve variables were retained. The extreme gradient boosting (XGBoost) model matched the leading algorithms in discrimination and maintained stable calibration. It achieved an AUROC of 0.773 (95% CI 0.721–0.824; AUPRC 0.864) in the internal test set and 0.753 (95% CI 0.708–0.797; AUPRC 0.852) in the external cohort, with calibration slopes of 1.03 and 0.93 and Brier scores of 0.169 and 0.180. SHAP identified total protein, globulin, albumin, and indirect bilirubin as the leading contributors. Complete-case analysis (AUROC 0.751), five random splits (0.764 ± 0.023), and nested cross-validation (0.755) were consistent with the main analysis. A free web calculator provides individualised probabilities.

Conclusions: An XGBoost model based on 12 routinely available variables estimated prevalent MASLD in EOT2D with moderate discrimination and good calibration. External validation was institutional, geographic, and temporal but confined to one region. The model is intended to prompt consideration of liver ultrasonography during routine diabetes care and to complement ultrasound and clinical judgment. Prospective implementation studies are required before clinical adoption.

Related

  1. Development and Internal Validation of an Interpretable Machine Learning Model for Identifying Past-Year Nonsuicidal Self-Injury Among Adolescents With Depression: Retrospective Study.
    Gaoyang Liu, Chenxi Yang, Wendan Chen +7
    JMIR pediatrics and parentingPeer-reviewedCC BYFull textPsychiatry & mental healthEurope PMC
  2. Development and external validation of interpretable machine learning models for 7-, 14-, and 28-day mortality in sepsis-associated liver injury
    Hao Yao, Zhaopu Li, Jinxiao Lü +1
    Frontiers in medicinePeer-reviewedCC BYFull textEpidemiology & public healthEurope PMCPMC
  3. Eye-movement-based machine learning for identifying Parkinson’s disease dementia in a retrospective cohort: an interpretable model-development study
    Jing Wu, Qing Liu, Song Yang +5
    Frontiers in aging neurosciencePeer-reviewedCC BYFull textGeneral medicineEurope PMC
  4. Development and validation of a prognostic prediction model for elderly patients with sepsis-associated acute kidney injury based on interpretable machine learning
    Nan Zhang, Jian-Zhong Wang, Qi Ma +2
    Frontiers in medicinePeer-reviewedCC BYFull textGeneral medicineEurope PMCPMC
  5. Development and validation of an interpretable machine learning model for early prediction of mortality in ICU patients with chronic obstructive pulmonary disease and heart failure
    Jiayi Shen, Yucheng Liu, Yikun Chen
    MedicinePeer-reviewedCC BYFull textGeneral medicineEurope PMC
BibTeX
@article{sun2026development,
  title = {{Development and external validation of an interpretable machine learning model for identifying prevalent metabolic dysfunction-associated steatotic liver disease in patients with early-onset type 2 diabetes}},
  author = {Yunzhao Sun and Tong Chen and Hongjian Jia and Yan Wang and Shutong Du and Xuejuan Zhang},
  journal = {Frontiers in Endocrinology},
  year = {2026},
  month = nov,
  doi = {10.3389/fendo.2026.1998347},
  url = {https://www.frontiersin.org/articles/10.3389/fendo.2026.1998347/full},
  note = {CC BY 4.0},
}
RIS
TY  - JOUR
TI  - Development and external validation of an interpretable machine learning model for identifying prevalent metabolic dysfunction-associated steatotic liver disease in patients with early-onset type 2 diabetes
AU  - Yunzhao Sun
AU  - Tong Chen
AU  - Hongjian Jia
AU  - Yan Wang
AU  - Shutong Du
AU  - Xuejuan Zhang
PY  - 2026
DA  - 2026/11/13
JO  - Frontiers in Endocrinology
DO  - 10.3389/fendo.2026.1998347
UR  - https://www.frontiersin.org/articles/10.3389/fendo.2026.1998347/full
AB  - Objective: Patients with early-onset type 2 diabetes mellitus (EOT2D) are at high risk of metabolic dysfunction-associated steatotic liver disease (MASLD), yet interpretable tools for estimating prevalent MASLD in this population are lacking. We developed and externally validated an interpretable machine learning model using routinely available clinical variables to prompt consideration of liver ultrasonography at the index visit.  Methods: We included 1,322 outpatients and inpatients with EOT2D (907 [68.6%] with prevalent MASLD), divided 7:3 into training (n = 925) and internal test (n = 397) sets. After multiple imputation by chained equations (m = 5), 68 candidate variables underwent least absolute shrinkage and selection operator regression, Boruta selection, and collinearity screening (variance inflation factor < 5). Eight machine learning models were tuned by 10-fold cross-validation. The final model was selected on the basis of internal discrimination and calibration, interpreted with Shapley additive explanations (SHAP), and externally validated in 515 patients (68.0% with MASLD) from four affiliated community hospitals in the same region.  Results: Twelve variables were retained. The extreme gradient boosting (XGBoost) model matched the leading algorithms in discrimination and maintained stable calibration. It achieved an AUROC of 0.773 (95% CI 0.721–0.824; AUPRC 0.864) in the internal test set and 0.753 (95% CI 0.708–0.797; AUPRC 0.852) in the external cohort, with calibration slopes of 1.03 and 0.93 and Brier scores of 0.169 and 0.180. SHAP identified total protein, globulin, albumin, and indirect bilirubin as the leading contributors. Complete-case analysis (AUROC 0.751), five random splits (0.764 ± 0.023), and nested cross-validation (0.755) were consistent with the main analysis. A free web calculator provides individualised probabilities.  Conclusions: An XGBoost model based on 12 routinely available variables estimated prevalent MASLD in EOT2D with moderate discrimination and good calibration. External validation was institutional, geographic, and temporal but confined to one region. The model is intended to prompt consideration of liver ultrasonography during routine diabetes care and to complement ultrasound and clinical judgment. Prospective implementation studies are required before clinical adoption.
SN  - 1664-2392
ER  -