Original Paper
Abstract
Background: Diabetes has emerged as a critical global public health crisis. Prediabetes, as the transitional phase with 5%-10% annual progression to diabetes, offers a critical window for intervention. The lack of a 5-year risk prediction model for diabetes progression among Chinese individuals with prediabetes limits clinical decision-making support.
Objective: This study aimed to develop and validate a machine learning–based 5-year risk prediction model of progression from prediabetes to diabetes for the Chinese population and establish an interactive web-based platform to facilitate high-risk patients identifying and early targeted interventions, ultimately reducing diabetes incidence and health care burdens.
Methods: A retrospective cohort study was conducted on 2 prediabetes cohorts from 2 Chinese medical centers (primary cohort: n=6578 and external validation cohort: n=2333) tracking from 2019 to 2024. Participants meeting the American Diabetes Association (ADA) criteria (prediabetes: hemoglobin A1c [HbA1c] level of 5.7%-6.4%; diabetes: HbA1c level of ≥6.5%) were identified. A total of 42 variables (demographics, physical measures, and hematologic biomarkers) were collected using standardized protocols. Patients were split into the training (70%) and test (30%) sets randomly in the primary cohort. Significant predictors were selected on the training set using recursive feature elimination methods, followed by prediction model development using 7 machine learning algorithms (logistic regression, random forest, support vector machine, multilayer perceptron, extreme gradient boosting machine, light gradient boosting machine, and categorical boosting machine [CatBoost]), optimized through grid search and 5-fold cross-validation. Model performance was assessed using the receiver operating characteristic curve, the precision-recall curves, accuracy, sensitivity, and specificity as well as multiple other metrics on both the test set and the external test set.
Results: During the follow-up of 5 years, 2610 (41.6%) participants and 760 (35.2%) participants progressed from prediabetes to diabetes, with mean annual progression rates of 8.34% and 7.04% in the primary cohort and the external cohort, respectively. Using 14 features selected using the recursive feature elimination-logistic algorithm, the CatBoost model achieved optimal performance in the test set and the external test set with an area under the receiver operating characteristic curve of 0.819 and 0.807, respectively. It also showed the best discrimination performance on the accuracy, negative predictive value (NPV), and F1-scores as well as the calibration performances in both the test set and the external test set. Then the Shapley Additive Explanations (SHAP) analysis highlighted the top 6 predictors (FBG, HDL, ALT/AST, BMI, age, and MONO), enabling targeted modification of these risk factors to reduce diabetes incidence.
Conclusions: We developed a 5-year risk prediction model of progression from prediabetes to diabetes for the Chinese population, with the CatBoost model showing the best predictive performance, which could effectively identify individuals at high risk of diabetes.
doi:10.2196/73190
Keywords
Introduction
Diabetes has become a severe global public health concern, affecting 537 million adults aged 20-79 years worldwide and threatening 860 million adults worldwide due to impaired glucose tolerance and impaired fasting glucose, which are commonly known as prediabetes [
]. The burden of diabetes now surpasses the combined global impact of tuberculosis, AIDS, and malaria [ ]. In 2021, China had approximately 141 million adults with diabetes and 197 million adults with prediabetes, ranking first globally for both conditions [ ]. Prediabetes is typically viewed as a transitional stage of diabetes, which can return to normal or progress to diabetes [ ]. Around 5%-10% of patients with prediabetes progress to diabetes every year, and up to 70% could develop diabetes eventually [ , ]. However, with lifestyle intervention and medications, the risk of diabetes in patients with prediabetes can be greatly decreased [ ]. Therefore, identifying high-risk individuals among patients with prediabetes and intervening in advance could greatly reduce the incidence and health care burden of diabetes.Machine learning has been widely used in the field of diabetes and prediabetes, including early diagnosis and risk prediction. Xue et al [
] built four machine learning models to diagnose type 2 diabetes using physical measurements and questionnaire information. Abnoosian et al [ ] developed an integrated multiclassifier machine learning model using various data preprocessing techniques and machine learning algorithms to identify patients with 3 conditions: diabetic, prediabetic, and nondiabetic. Hu et al [ ] constructed a model to predict the 5-year risk of developing prediabetes in the Chinese population. Schallmoser et al [ ] created 2 machine learning models for predicting the risk of microvascular or macrovascular complications within 5 years in patients with prediabetes or diabetes. In terms of the progression from prediabetes to diabetes, Cahn et al [ ] constructed a 1-year risk prediction model using 3 datasets, demonstrating superior accuracy (area under the receiver operating characteristic curve [AUC] 0.865-0.925) over logistic regression. Liu et al [ ] developed a 1- or 2-year risk prediction model for the Chinese older adults based on extreme gradient boosting machine (XGBoost), demonstrating modest predictive performance (AUC 0.67). Chen et al [ ] built a 3-year risk prediction model for the Chinese based on logistic regression using 9 indicators and achieved optimal performance (AUC 0.78). Aoki et al [ ] created a 5-year risk prediction model (AUC 0.87) for Americans based on the random forest using 8 laboratory indicators. Although these predictive models for the progression of prediabetes have been developed, Chinese-focused models are limited to short observation periods (≤3 years), and there is currently a lack of a 5-year prediction model specifically tailored to the Chinese population. Prediabetes often undergoes a gradual progression that can last for over 10 years; hence, a long-term risk prediction model would be more meaningful than a short-term prediction model. Therefore, to address this clinical and geographical gap, we aimed to develop and validate a 5-year risk prediction model for the progression from prediabetes to diabetes within the Chinese population, and to establish an interactive web-based platform for easy clinical practice.Methods
Participants
This research was a retrospective cohort study that used health checkup data from 2 independent medical centers, namely the First Affiliated Hospital of Shandong First Medical University (the primary cohort) and Binzhou Medical University Hospital (the external cohort). Participants were tracked from 2019 to 2024 over a consecutive 5-year period, with annual assessments conducted at a fixed time each year to evaluate diabetes progression based on the American Diabetes Association (ADA) diagnostic criterion of a hemoglobin A1c (HbA1c) level of ≥6.5% [
]. Inclusion criteria required participants to have a confirmed diagnosis of prediabetes (HbA1c level of 5.7%-6.4%) at the 2019 baseline examination. Exclusion criteria included pre-existing diabetes (HbA1c level of ≥6.5% or use of glucose-lowering therapy), history of gestational diabetes, use of medications known to affect glucose metabolism, any previous diagnosis of malignancy, and absence of a second physical examination after the year of 2019. After finalizing study cohort and variable selection, data cleaning was performed by removing participants with any missing values. This complete-case analysis approach is methodologically sound when the proportion of missing data is minimal, as it ensures data integrity while maintaining sufficient statistical power. The study design is illustrated in .
Data Collection
We collected 42 variables in total from the database based on literature review, clinical expertise, and data availability, including demographics, physical measures, and hematologic biomarkers. These variables are gender, age, height, weight, BMI, systolic blood pressure, diastolic blood pressure, white blood cell, neutrophil count, lymphocyte count, monocyte count (MONO), hemoglobin, red blood cell (RBC), platelet count, alanine aminotransferase (ALT), aspartate aminotransferase (AST), ALT to AST ratio (ALT/AST), gamma-glutamyl transferase, alkaline phosphatase, total bilirubin, direct bilirubin, indirect bilirubin, total protein, albumin, globulin, albumin to globulin ratio (albumin/globulin), triglycerides, total cholesterol (TC), high-density lipoprotein cholesterol (HDL), low-density lipoprotein cholesterol (LDL), HDL to TC ratio (HDL/TC), blood urea nitrogen (BUN), creatinine, uric acid, estimated glomerular filtration rate, BUN to creatinine ratio (BUN/creatinine), fasting blood glucose (FBG), hematocrit, mean corpuscular hemoglobin, triglyceride-glucose, monocyte to high-density lipoprotein cholesterol ratio, and neutrophil to high-density lipoprotein cholesterol ratio.
Physical and laboratory examinations are carried out by trained medical staff in accordance with uniform standards. Height and weight measurements require participants to remove heavy clothing and take off shoes. The fully automatic electronic sphygmomanometer was used to measure the participants’ blood pressure in the right upper arm after sitting still and resting for 10 min. The measurement of blood pressure was made twice, each time with an interval of 1-2 minutes, and the average of the 2 readings was taken and recorded. Blood samples were collected from the antecubital vein after an 8- to 10-hour fast and were promptly sent to the clinical laboratory for processing. BMI was calculated as weight (kg) divided by the square of height (m²), and triglyceride-glucose was calculated as Ln (fasting triglycerides [mg/dL] × fasting glucose [mg/dL]/2).
Statistical Analysis
Baseline characteristics were analyzed using R version 4.3.1 (R Foundation for Statistical Computing). Quantitative data were analyzed using Student t test or nonparametric Wilcoxon signed-rank test, while qualitative data were analyzed using chi-square test or Fisher exact test. Statistical significance thresholds were set at P<.05 for all comparative analyses.
Model training and validation were conducted using the scikit-learn package (version 1.4.0) in Python (version 3.11.5). Initially, the primary cohort was randomly divided into a training set (comprising 70% of the participants) and a test set (comprising the remaining 30%) [
]. To ensure better model performance and reduce redundant features, recursive feature elimination (RFE) was used on the training set for feature selection with the logistic regression model as the base model [ , ]. Subsequently, 7 machine learning algorithms were selected, namely logistic regression, random forest, support vector machine, multilayer perceptron, XGBoost, light gradient boosting machine, and categorical boosting machine (CatBoost) to construct the prediction models. These models were trained and optimized on the training set, with the optimal parameters determined using grid search and 5-fold cross-validation. The next step involved validating the models’ discrimination and calibration ability using the test set of the primary cohort and the external cohort. The discrimination ability of different models was compared using AUC and the area under the precision-recall (PR) curve, along with accuracy, sensitivity, specificity, positive predictive value, NPV, and F1-score. The DeLong test was used for comparing AUC differences between models. The calibration ability of different models was compared using the calibration curves to assess the consistency between predicted and observed values. The Shapley Additive Explanations (SHAP) method was used to analyze variable importance for the best-performing machine learning model. Finally, decision curve analysis was used to evaluate the clinical application values of each machine learning model, and an interactive web page for easy clinical use was developed using the Python Gradio framework.Ethical Considerations
This study followed the principles of the Declaration of Helsinki and was approved by the Ethics Committee of the First Affiliated Hospital of Shandong First Medical University (2024S657), and the informed consent was waived off by the review boards due to the retrospective nature of this research. All the images and tables presented in the manuscript and supplementary materials were anonymized in accordance with ethical standards, ensuring no personally identifiable information could be discerned.
Results
Baseline Characteristics
This study enrolled 6270 eligible participants in the primary cohort and 2157 in the external cohort. Over a 5-year period, 2610 participants (41.6%) in the primary cohort and 760 (35.2%) in the external cohort progressed from prediabetes to diabetes, with mean annual progression rates of 8.33% and 7.04%. The characteristics of the primary and external cohorts are shown in Table S1 in
. Over the 5-year follow-up period, 510 participants were lost to follow-up in the primary cohort. A comparative analysis of baseline characteristics between the lost to follow-up group (n=510) and the completed follow-up group (n=6270) revealed no statistically significant differences in any observed variables (P>.05) as shown in Table S2 in . Given the lost-to-follow-up–rate of 7.5% (510/6780) and 5.2% (127/2430) in the primary and the external cohort respectively, the demonstrated baseline equivalence between groups, we conclude that the cases lost to follow-up are unlikely to compromise the validity of the analytical outcomes.Model Construction and Validation
The RFE-logistic feature selection algorithm finally screened 14 out of 42 health checkup variables using the training set of the primary cohort, which were hematocrit, hemoglobin, RBC, MONO, FBG, HDL/TC, LDL, HDL, creatinine, ALT/AST, age, height, weight, and BMI. As illustrated in Figure S1 in
, the RFE-logistic cross-validation analysis demonstrated a plateau in AUC when reaching 14 features, with no significant improvement observed when incorporating more features. As shown in Table S3 in , the RFE ranking system eliminated lower-priority variables through iterative cross-validation (where rank=1 denotes retained features, and higher ranks reflect earlier elimination during the feature selection process). The discrimination performances of the 7 machine learning models on the test set and the external test set were shown in and , in which the ROC curves indicated that the CatBoost model had the best performance on both of the test sets (AUC 0.819) and the external test set (AUC 0.807), and the DeLong test revealed that the differences in AUC values for the models on 2 cohorts were statistically significant (P<.05). The PR curve analysis further confirmed the superior discriminative performance of the CatBoost model, demonstrating significant advantages on both sets. In addition, the CatBoost model showed the best accuracy (74.6%), sensitivity (0.648), NPV (0.765), F1-score (0.68) on the test set, and the best accuracy (75.9%), NPV (0.787), and F1-score (0.626) on the external test set. The confusion matrix for the 7 machine learning models on both sets is shown in Figure S2 in .Meanwhile, the calibration performances of the 7 models on the test set and the external test set were evaluated using calibration curves as shown in plots A and C in
, in which the black curve corresponding to the CatBoost model had been distributed closest to the dashed line in the middle, indicating the best calibration ability in both sets. The clinical application value of the 7 models on the test set and the external test set were evaluated using decision curves as shown in plot B and D in , in which the area under the curve of the CatBoost model reached the maximum, and when the threshold probability was less than around 0.80, all the clinical decisions made would be beneficial to the patients.
Models | Accuracy | Sensitivity | Specificity | PPVa | NPVb | F1-score | |||||||
The test set in the primary cohort | |||||||||||||
Logistic regression | 0.739 | 0.577 | 0.854 | 0.738 | 0.739 | 0.648 | |||||||
Random forest | 0.741 | 0.592 | 0.846 | 0.732 | 0.745 | 0.655 | |||||||
SVMc | 0.677 | 0.277 | 0.961 | 0.834 | 0.651 | 0.417 | |||||||
XGBoostd | 0.74 | 0.647 | 0.806 | 0.704 | 0.762 | 0.674 | |||||||
MLPe | 0.665 | 0.367 | 0.877 | 0.68 | 0.66 | 0.477 | |||||||
LightGBMf | 0.744 | 0.61 | 0.838 | 0.729 | 0.751 | 0.664 | |||||||
CatBoostg | 0.746 | 0.648 | 0.816 | 0.715 | 0.765 | 0.68 | |||||||
The external test set | |||||||||||||
Logistic regression | 0.749 | 0.45 | 0.913 | 0.737 | 0.753 | 0.559 | |||||||
Random forest | 0.755 | 0.578 | 0.852 | 0.68 | 0.786 | 0.624 | |||||||
SVM | 0.75 | 0.468 | 0.904 | 0.727 | 0.758 | 0.57 | |||||||
XGBoost | 0.74 | 0.554 | 0.842 | 0.656 | 0.776 | 0.601 | |||||||
MLP | 0.717 | 0.499 | 0.836 | 0.623 | 0.754 | 0.554 | |||||||
LightGBM | 0.747 | 0.424 | 0.923 | 0.75 | 0.747 | 0.542 | |||||||
CatBoost | 0.759 | 0.572 | 0.86 | 0.69 | 0.787 | 0.626 |
aPPV: positive predictive value.
bNPV: negative predictive value.
cSVM: support vector machine.
dXGBoost: extreme gradient boosting.
eMLP: multiplayer perceptron.
fLightGBM: light gradient boosting machine.
gCatBoost: categorical boosting.

Feature Importance
The SHAP analysis of the best-performing CatBoost model is shown in
. The top 6 variables contributing most to the model were FBG, HDL, ALT/AST, BMI, age, and MONO, where HDL and ALT/AST were negatively correlated with the outcome, that is, protective against progression to diabetes, and the rest were positively correlated and risky for progression to diabetes. Baseline FBG was the most important factor affecting the CatBoost model. In addition, the SHAP dependency plots for the 6 features were shown in , which showed the correspondence between the change in the value of variables and the change of importance to the CatBoost model indicated by SHAP values. Finally, we constructed the user-friendly interactive web interface of the prediction model for progression from prediabetes to diabetes as shown in Figure S3 in .

Discussion
Principal Findings
In this retrospective cohort study, we used 7 machine learning algorithms to build and evaluate 5-year risk prediction models for the progression from prediabetes to diabetes in 2 different cohorts. Among them, the CatBoost model showed the best performance in terms of discrimination and calibration. The CatBoost model achieved the highest AUC values in both the test set (0.819) and external validation set (0.807), outperforming all other models. This indicates its exceptional ability to distinguish individuals who will progress to diabetes from those who will not. The model’s AUC values reflect good discrimination for clinical use (AUC ≥0.8 is often considered strong in risk prediction), placing it in the mid-to-high range of published studies (AUC 0.67-0.87) and approaching top-tier models [
- ]. The stability of AUC across internal and external test sets (<2% difference) suggests that the 14 features selected by RFE-logistic capture biologically and clinically generalizable signals, rather than overfitting to cohort-specific noise. Compared with the traditional logistic regression model, the CatBoost model’s improvement in AUC highlights the value of ensemble algorithms in modeling complex interactions between metabolic, hematological, and anthropometric variables.Among the 7 evaluated models, the CatBoost algorithm also demonstrated superior performance in sensitivity, NPV, and F1-score. In disease screening and risk assessment contexts, high sensitivity holds particular clinical significance as missed diagnoses of high-risk patients may lead to severe health consequences. Our study also took into consideration the cost-benefit analysis of false-positive cases, systematically balancing the economic and psychological burdens against diagnostic sensitivity through optimized thresholds. The CatBoost model exhibited exceptional capability in low-risk population exclusion, achieving NPV of 76.5% and 78.7% in 2 cohorts. This performance positions it as an ideal solution for resource-constrained health care settings, enabling efficient allocation of medical resources to medium- and high-risk subgroups.
The CatBoost model dominated the space of the precision-recall curve, achieving the highest precision at different recall levels. For example, at a recall of 0.648 in the test set, the model maintained a highest precision of 0.715. This superiority implies that CatBoost reduces unnecessary interventions; for every 100 patients flagged as “high-risk” by CatBoost, 71.5% would truly progress to diabetes. In resource-constrained settings, this precision directly translates to cost savings and reduced patient anxiety. The decision curves further validated the clinical value of the CatBoost model. When the threshold probability for intervention was below 80%, the model provided a net benefit over “treat all” or “treat none” strategies, which means the model remains clinically beneficial across a wide range of risk thresholds, accommodating varying risk tolerance among patients and health care systems.
SHAP analysis of the feature importance identified FBG, HDL, ALT/AST, BMI, age, and MONO as the top 6 variables contributing the most to the CatBoost model, and an interactive web interface for this model was constructed. This interface provided caregivers with an easy tool to assess the 5-year risk of progression to diabetes in patients with prediabetes. It can be integrated into the health information system in China, which could streamline risk assessment, allowing automated alerts for high-risk prediabetic patients during routine health check-ups. By stratifying patients into risk categories, clinicians can prioritize high-risk individuals for intensive monitoring or early lifestyle intervention, such as dietary changes, physical activity plans, or pharmacological approaches in alignment with current clinical guidelines. The web interface bridges the gap between predictive analytics and clinical decision-making, advocating for a paradigm shift toward data-driven, individualized prevention strategies, emphasizing early intervention in high-risk groups to curb diabetes progression.
Comparisons With Previous Work
The application of machine learning techniques has made significant progress in the field of diabetes, opening up new possibilities for early diagnosis and prevention. CatBoost is an advanced machine learning algorithm designed for gradient boosting with decision trees, applicable to a variety of tasks including classification, regression, and ranking. It leverages techniques such as ordered boosting, stochastic permutations, and gradient-driven optimization to deliver superior results [
- ]. Shojaee et al [ ] developed a fasting blood glucose status prediction model using the CatBoost algorithm based on 3376 adults older than 30 years at 16 comprehensive health service centers in Tehran, Iran, which demonstrated good performance with 0.737 AUC. Shiren et al [ ] developed a cutting-edge, interpretable risk assessment model for patients with diabetes. The CatBoost algorithm significantly outperformed the other methods in terms of AUC, delivering an impressive average AUC of 90.47% across 4 diabetes-related complications, namely coronary heart disease, diabetic nephropathy, diabetic retinopathy, and nonalcoholic fatty liver disease. Qiu et al [ ] constructed a model capable of forecasting the likelihood of cancer in individuals with type 2 diabetes by using tumor biomarkers from a dataset of 5198 patients. The CatBoost model yielded a favorable AUC of 0.852, which might be helpful for early cancer detection and prevention. While CatBoost offers notable advantages, it also has drawbacks. It exhibits higher computational demands compared with lightweight frameworks like light gradient boosting machine (LightGBM), particularly with large datasets. Its performance is sensitive to hyperparameter tuning, demanding significant computational resources and time. In addition, the model’s complexity makes interpretation challenging without external tools like SHAP for transparency.The variables selected from RFE-logistic algorithm have been proven to be relevant to diabetes in different ways. Changes in hematocrit can alter red blood cell ratios, affecting HbA1c test results and causing overestimation or underestimation of true blood glucose levels in type 2 diabetes [
]. HbA1c had significant correlations with RBC and hemoglobin because chronic hyperglycemia can exacerbate inflammation and alter hematological parameters in diabetic patients [ ]. HDL is a protective factor against diabetes, while lower levels of HDL are associated with increased insulin resistance and elevated cardiovascular risk [ ]. ALT, TC, triglycerides, HDL, and LDL are clinically significant biomarkers associated with diabetes, which serve as sensitive indicators of insulin resistance and metabolic syndrome [ ]. Studies also demonstrate BMI is a modifiable risk factor for diabetes and its macrovascular and microvascular complications. There are positive correlations between BMI and key glycemic control parameters, FBG and HbA1c, highlighting its role in β-cell dysfunction and systemic insulin resistance [ ]. The results of the feature importance analysis are consistent with the other diabetes studies, where FPG was the most important factor contributing to diabetes risk. As the core diagnostic criterion for diabetes, FBG directly reflects the pathological mechanisms of insulin resistance and β-cell dysfunction. Even when FBG levels remain below the diagnostic threshold for diabetes, persistent elevation can accelerate β-cell functional failure through glucotoxic effects. In addition, age, BMI, HDL as well as ALT/AST played significant roles in influencing the risk of diabetes [ - , - ]. Aging directly contributes to the decline of pancreatic β-cell function and reduced insulin sensitivity. With aging, diminished hepatic gluconeogenesis regulation and impaired glucose uptake efficiency in muscle tissues progressively destabilize fasting glucose homeostasis, which might underlie the critical transition from prediabetes to diabetes. We also found that MONO was an important factor contributing to diabetes risk. Monocytes release a variety of inflammatory mediators and participate in the inflammatory and injury processes in our body, and may prompt the progression from prediabetes to diabetes [ , ].Limitations
To the best of our knowledge, this study is the first to develop a 5-year risk prediction model for the progression from prediabetes to diabetes based on the Chinese population. China faces a heavy disease and economic burden due to diabetes and its complications, and identifying high-risk populations among patients with prediabetes could reduce the health care burden of diabetes by implementing lifestyle and pharmacological interventions [
- ]. There are some limitations of our study. First, due to the retrospective nature of this study, the absence of some risk factors, such as smoking, drinking, and the family history of diabetes may introduce residual confounding, while the lack of longitudinal tracking of some variables during follow-up could affect the predictive validity. Second, out of operational practicality, we take HbA1c as the sole diagnostic criterion for diabetes in this study. While HbA1c demonstrates superior accuracy in reflecting long-term glycemic levels [ - ], the exclusion of complementary assessments, such as FBG, oral glucose tolerance test, and clinical symptom evaluation, may introduce diagnostic bias, which might reduce the generalizability of our prediction model. Third, the absence of external validation in populations with distinct genetic backgrounds may limit extrapolation to other ethnic groups. In the future, we will establish prospective cohorts to include more risk factors, diagnostic variables, and implement longitudinal monitoring. In addition, we will validate our model across diverse ethnic and geographic populations through multi-center collaborations to enhance the generalizability.Conclusions
In conclusion, we constructed and evaluated seven 5-year risk prediction models for the progression from prediabetes to diabetes using machine learning algorithms based on the Chinese health checkup cohorts. The CatBoost model demonstrated the best performance, suggesting its potential as an effective tool in the field of diabetes prevention and management. We can embed the model in electronic health records to flag high-risk individuals during annual checkups, enable targeted allocation of glucose monitoring resources, and facilitate early lifestyle modification to these predicted high-risk patients to reduce diabetes incidence and health care burdens.
Acknowledgments
This work was supported by grants from the Shandong-Chongqing Science and Technology Cooperation Project (2024LYXZ021), the Shandong Provincial Medical Association Research Project (YXH2024YS050), and the Natural Science Foundation of Shandong Province (ZR2023QG014).
Data Availability
The datasets generated or analyzed during this study are available from the corresponding author on reasonable request.
Authors' Contributions
YZ contributed to conceptualization, formal analysis, methodology, and writing—original draft. HZ contributed to investigation and data curation. DW contributed to supervision, writing—review and editing. NL and HL contributed to investigation. GZ contributed to funding acquisition, project administration, writing—review and editing.
Conflicts of Interest
None declared.
References
- Magliano DJ, Boyko EJ. IDF Diabetes Atlas 10th edition scientific committee. In: IDF Diabetes Atlas. Brussels. International Diabetes Federation; 2021.
- State of inequality: HIV, tuberculosis and malaria. Geneva. WHO; 2021.
- Echouffo-Tcheugui JB, Perreault L, Ji L, Dagogo-Jack S. Diagnosis and management of prediabetes: a review. JAMA. Apr 11, 2023;329(14):1206-1216. [CrossRef] [Medline]
- Shang Y, Marseglia A, Fratiglioni L, Welmer A, Wang R, Wang H, et al. Natural history of prediabetes in older adults from a population-based longitudinal study. J Intern Med. Sep 2019;286(3):326-340. [FREE Full text] [CrossRef] [Medline]
- Khan R, Chua Z, Tan J, Yang Y, Liao Z, Zhao Y. From pre-diabetes to diabetes: diagnosis, treatments and translational research. Medicina (Kaunas). Aug 29, 2019;55(9):546. [FREE Full text] [CrossRef] [Medline]
- Wang Y, Chai X, Wang Y, Yin X, Huang X, Gong Q, et al. Effectiveness of different intervention modes in lifestyle intervention for the prevention of type 2 diabetes and the reversion to normoglycemia in adults with prediabetes: systematic review and meta-analysis of randomized controlled trials. J Med Internet Res. Jan 29, 2025;27:e63975. [FREE Full text] [CrossRef] [Medline]
- Xue M, Su Y, Li C, Wang S, Yao H. Identification of potential type II diabetes in a large-scale chinese population using a systematic machine learning framework. J Diabetes Res. 2020;2020:6873891. [FREE Full text] [CrossRef] [Medline]
- Abnoosian K, Farnoosh R, Behzadi MH. Prediction of diabetes disease using an ensemble of machine learning multi-classifier models. BMC Bioinformatics. Sep 12, 2023;24(1):337. [FREE Full text] [CrossRef] [Medline]
- Hu Y, Han Y, Liu Y, Cui Y, Ni Z, Wei L, et al. A nomogram model for predicting 5-year risk of prediabetes in Chinese adults. Sci Rep. Dec 18, 2023;13(1):22523. [FREE Full text] [CrossRef] [Medline]
- Schallmoser S, Zueger T, Kraus M, Saar-Tsechansky M, Stettler C, Feuerriegel S. Machine learning for predicting micro- and macrovascular complications in individuals with prediabetes or diabetes: retrospective cohort study. J Med Internet Res. Feb 27, 2023;25:e42181. [FREE Full text] [CrossRef] [Medline]
- Cahn A, Shoshan A, Sagiv T, Yesharim R, Goshen R, Shalev V, et al. Prediction of progression from pre-diabetes to diabetes: Development and validation of a machine learning model. Diabetes Metab Res Rev. Feb 2020;36(2):e3252. [CrossRef] [Medline]
- Liu Q, Zhou Q, He Y, Zou J, Guo Y, Yan Y. Predicting the 2-year risk of progression from prediabetes to diabetes using machine learning among Chinese elderly adults. J Pers Med. Jun 27, 2022;12(7):1055. [FREE Full text] [CrossRef] [Medline]
- Chen X, Zhou S, Yang L, Zhong Q, Liu H, Zhang Y, et al. Risk prediction of diabetes progression using big data mining with multifarious physical examination indicators. Diabetes Metab Syndr Obes. 2024;17:1249-1265. [FREE Full text] [CrossRef] [Medline]
- Aoki J, Khalid O, Kaya C, Nagymanyoki Z, Hussong J, Salama ME. Progression from prediabetes to diabetes in a diverse U.S. population: a machine learning model. Diabetes Technol Ther. 2024;26(10):748-753. [CrossRef] [Medline]
- Guo Y, Zhang Z, Tang F. Feature selection with kernelized multi-class support vector machine. Pattern Recognit. 2021;117:107988. [FREE Full text] [CrossRef]
- Chen Y, Huang S, Chen T, Liang D, Yang J, Zeng C, et al. Machine learning for prediction and risk stratification of lupus nephritis renal flare. Am J Nephrol. 2021;52(2):152-160. [CrossRef] [Medline]
- Hu Y, Wu R, Lin Y, Lin T. A novel MissForest-based missing values imputation approach with recursive feature elimination in medical applications. BMC Med Res Methodol. 2024;24(1):269. [FREE Full text] [CrossRef] [Medline]
- Shojaee-Mend H, Velayati F, Tayefi B, Babaee E. Prediction of diabetes using data mining and machine learning algorithms: a cross-sectional study. Healthc Inform Res. 2024;30(1):73-82. [FREE Full text] [CrossRef] [Medline]
- Shiren Y, Jiangnan Y, Xinhua Y, Xinye N. Interpretable prediction model for assessing diabetes complication risks in Chinese sufferers. Diabetes Res Clin Pract. 2024;209:111560. [CrossRef] [Medline]
- Qiu B, Chen H, Zhang E, Ma F, An G, Zong Y, et al. A machine learning prediction model for cancer risk in patients with type 2 diabetes based on clinical tests. Technol Health Care. 2024;32(3):1431-1443. [FREE Full text] [CrossRef] [Medline]
- Malaba J, Kosiyo P, Guyah B. Haemoglobin types and variant interference with HbA1c and its association with uncontrolled HbA1c in type 2 diabetes mellitus. BMC Res Notes. 2024;17(1):342. [FREE Full text] [CrossRef] [Medline]
- Antwi-Baffour S, Mensah BT, Armah DNO, Ali-Mustapha S, Annison L. Comparative analysis of glycated haemoglobin, fasting blood glucose and haematological parameters in type-2 diabetes patients. BMC Res Notes. 2023;16(1):256. [FREE Full text] [CrossRef] [Medline]
- Li B, Liu Y, Zhou X, Gu W, Mu Y. Remnant cholesterol, but not other traditional lipids or lipid ratios, is independently and positively related to future diabetes risk in Chinese general population: a 3 year cohort study. J Diabetes Investig. 2024;15(8):1084-1093. [FREE Full text] [CrossRef] [Medline]
- Hao J, Wang Y, Huo L, Sun T, Zhen Y, Gao Z, et al. Circulating bone morphogenetic protein-9 is decreased in patients with type 2 diabetes and non-alcoholic fatty liver disease. Int J Gen Med. 2022;15:8539-8546. [FREE Full text] [CrossRef] [Medline]
- Li S, Li S, Ding J, Zhou W. Visceral fat area and body fat percentage measured by bioelectrical impedance analysis correlate with glycometabolism. BMC Endocr Disord. 2022;22(1):231. [FREE Full text] [CrossRef] [Medline]
- Gollapalli M, Alansari A, Alkhorasani H, Alsubaii M, Sakloua R, Alzahrani R, et al. A novel stacking ensemble for detecting three types of diabetes mellitus using a Saudi Arabian dataset: pre-diabetes, T1DM, and T2DM. Comput Biol Med. 2022;147:105757. [FREE Full text] [CrossRef] [Medline]
- Lai H, Huang H, Keshavjee K, Guergachi A, Gao X. Predictive models for diabetes mellitus using machine learning techniques. BMC Endocr Disord. 2019;19(1):101. [FREE Full text] [CrossRef] [Medline]
- Wu Y, Hu H, Cai J, Chen R, Zuo X, Cheng H, et al. Machine learning for predicting the 3-year risk of incident diabetes in Chinese adults. Front Public Health. 2021;9:626331. [FREE Full text] [CrossRef] [Medline]
- Fernandes Silva L, Hokkanen J, Vangipurapu J, Oravilahti A, Laakso M. Metabolites as risk factors for diabetic retinopathy in patients with type 2 diabetes: a 12-year follow-up study. J Clin Endocrinol Metab. 2023;109(1):100-106. [FREE Full text] [CrossRef] [Medline]
- Lamichhane P, Agrawal A, Abouainain Y, Abousahle S, Regmi PR. Utility of neutrophil-to-high-density lipoprotein-cholesterol ratio in patients with coronary artery disease: a narrative review. J Int Med Res. 2023;51(4):3000605231166518. [FREE Full text] [CrossRef] [Medline]
- Ahn CH, Yoon JW, Hahn S, Moon MK, Park KS, Cho YM. Evaluation of non-laboratory and laboratory prediction models for current and future diabetes mellitus: a cross-sectional and retrospective cohort study. PLoS One. 2016;11(5):e0156155. [FREE Full text] [CrossRef] [Medline]
- Mao W, Yip CW, Chen W. Complications of diabetes in China: health system and economic implications. BMC Public Health. 2019;19(1):269. [FREE Full text] [CrossRef] [Medline]
- Zhao X, Forbes A, Ghazaleh HA, He Q, Huang J, Asaad M, et al. Interventions and behaviour change techniques for improving physical activity level in working-age people (18-60 years) with type 2 diabetes: a systematic review and network meta-analysis. Int J Nurs Stud. 2024;160:104884. [FREE Full text] [CrossRef] [Medline]
- Li Y, Zhou P, Nie F, Xia M, Yan Q. The prediction effect of HbA1c on nosocomial infection in diabetic patients was analyzed based on decision curve and dose response. Altern Ther Health Med. 2024;30(9):157-161. [FREE Full text] [Medline]
- Kibirige D, Zawedde-Muyanja S, Andia-Biraro I, Olum R, Adakun S, Sekaggya-Wiltshire C, et al. Diagnostic accuracy of two confirmatory tests for diabetes mellitus in adult Ugandans with recently diagnosed tuberculosis. Ther Adv Infect Dis. 2023;10:20499361231216799. [FREE Full text] [CrossRef] [Medline]
- Lv K, Cui C, Fan R, Zha X, Wang P, Zhang J, et al. Detection of diabetic patients in people with normal fasting glucose using machine learning. BMC Med. 2023;21(1):342. [FREE Full text] [CrossRef] [Medline]
Abbreviations
ADA: American Diabetes Association |
ALT: alanine aminotransferase |
AST: aspartate aminotransferase |
AUC: the area under the receiver operating characteristic curve |
BUN: blood urea nitrogen |
CatBoost: categorical boosting machine |
FBG: fasting blood glucose |
HbA1c: hemoglobin A1c |
HDL: high-density lipoprotein cholesterol |
LDL: low-density lipoprotein cholesterol |
LightGBM: light gradient boosting machine |
MONO: monocyte count |
NPV: negative predictive value |
PR: precision-recall |
RBC: red blood cell |
RFE: recursive feature elimination |
ROC: receiver operating characteristic curve |
SHAP: Shapley Additive Explanations |
TC: total cholesterol |
XGBoost: extreme gradient boosting |
Edited by J Sarvestan; submitted 26.02.25; peer-reviewed by LP Gorrepati, R Dhillon, CP Agu; comments to author 17.03.25; revised version received 07.04.25; accepted 17.04.25; published 09.05.25.
Copyright©Yongsheng Zhang, Hongyu Zhang, Dawei Wang, Na Li, Haoyue Lv, Guang Zhang. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 09.05.2025.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research (ISSN 1438-8871), is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.