Machine learning-based prediction of NAFLD in patients with type 2 diabetes using routine clinical and biochemical indicators

Objectives: This study aimed to develop and evaluate machine learning (ML) models for predicting non-alcoholic fatty liver disease (NAFLD) in patients with type 2 diabetes mellitus (T2DM) using readily accessible clinical and biochemical indicators. Methods: A total of 2,459 patients with T2DM were enrolled in this cross-sectional study. Eight ML algorithms, logistic regression (LG), k-nearest neighbors (k-NN), support vector machine (SVM), decision tree (DT), random forest (RF), gradient boosting machine (GBM), extreme gradient boosting (XGBoost), and naïve Bayes (NB), were developed to construct predictive models. Feature selection was performed using Boruta, recursive feature elimination, and LASSO regression. Model performance was assessed using several metrics, including the area under the receiver operating characteristic curve (AUC), accuracy, recall, F1 score, and decision curve analysis. Results: Among the study population, 1,309 individuals (53.23%) were diagnosed with NAFLD. Sixteen variables, including BMI, waist circumference, systolic blood pressure, triglycerides, HDL-C, ALT, GGT, bilirubin fractions, albumin, BUN, GFR, fasting insulin, RBC, and hemoglobin, were selected as key predictors. The SVM model demonstrated the best overall performance, achieving an AUC of 0.920, accuracy of 0.839, and specificity of 0.898 in the training set, and an AUC of 0.833 and accuracy of 0.733 in the validation set. Decision curve analysis confirmed superior clinical utility of the SVM model compared with other algorithms. Conclusions: ML-based models, particularly the SVM algorithm, effectively predicted NAFLD among patients with T2DM using easily accessible clinical and biochemical indicators. These findings highlight the potential utility of ML-assisted screening tools for improving early identification and risk stratification of NAFLD in diabetic populations.

Authors

Institutions

Publication Details

Journal
Frontiers in Endocrinology
Published
2026-04-13
DOI
https://doi.org/10.3389/fendo.2026.1761846
Primary Topic
Liver Disease Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning-based prediction of NAFLD in patients with type 2 diabetes using routine clinical and biochemical indicators

Chenggong Zhu, Yongjun Zeng, Ya Fu, Jinlin Wang et al.
Frontiers in Endocrinology
Liver Disease Diagnosis and Treatment
article

Machine learning-based prediction of NAFLD in patients with type 2 diabetes using routine clinical and biochemical indicators

Chenggong Zhu, Yongjun Zeng, Ya Fu, Jinlin Wang, Lu Ao, Yongbin Zeng, Qiang Yi
article en

Abstract

Objectives: This study aimed to develop and evaluate machine learning (ML) models for predicting non-alcoholic fatty liver disease (NAFLD) in patients with type 2 diabetes mellitus (T2DM) using readily accessible clinical and biochemical indicators. Methods: A total of 2,459 patients with T2DM were enrolled in this cross-sectional study. Eight ML algorithms, logistic regression (LG), k-nearest neighbors (k-NN), support vector machine (SVM), decision tree (DT), random forest (RF), gradient boosting machine (GBM), extreme gradient boosting (XGBoost), and naïve Bayes (NB), were developed to construct predictive models. Feature selection was performed using Boruta, recursive feature elimination, and LASSO regression. Model performance was assessed using several metrics, including the area under the receiver operating characteristic curve (AUC), accuracy, recall, F1 score, and decision curve analysis. Results: Among the study population, 1,309 individuals (53.23%) were diagnosed with NAFLD. Sixteen variables, including BMI, waist circumference, systolic blood pressure, triglycerides, HDL-C, ALT, GGT, bilirubin fractions, albumin, BUN, GFR, fasting insulin, RBC, and hemoglobin, were selected as key predictors. The SVM model demonstrated the best overall performance, achieving an AUC of 0.920, accuracy of 0.839, and specificity of 0.898 in the training set, and an AUC of 0.833 and accuracy of 0.733 in the validation set. Decision curve analysis confirmed superior clinical utility of the SVM model compared with other algorithms. Conclusions: ML-based models, particularly the SVM algorithm, effectively predicted NAFLD among patients with T2DM using easily accessible clinical and biochemical indicators. These findings highlight the potential utility of ML-assisted screening tools for improving early identification and risk stratification of NAFLD in diabetic populations.

Frontiers in EndocrinologyVol. 17
Fujian Medical University (CN), First Affiliated Hospital of Fujian Medical University (CN)
Openalex Percentile: Top 27%
Liver Disease Diagnosis and Treatment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.