Copyright: ©Author(s) 2026.
World J Cardiol. Nov 26, 2026; 18(11): 126754
Published online Nov 26, 2026. doi: 10.4330/wjc.126754
Published online Nov 26, 2026. doi: 10.4330/wjc.126754
Table 1 Comparative characteristics according to diabetes and cardiac pathology status
| Variable | Statistic | No DM, no pathology | No DM, with pathology | DM, no pathology | DM, with pathology | Test | P value |
| Age, years | mean ± SD | 54.01 ± 15.42 (n = 1214) | 67.22 ± 13.22 (n = 818) | 55.64 ± 15.90 (n = 278) | 65.36 ± 13.29 (n = 281) | Kruskal-Wallis | < 0.001 |
| Median (Q1, Q3) | 54.00 (43.00, 67.00) | 69.00 (61.00, 76.00) | 59.00 (46.00, 68.00) | 67.00 (59.00, 75.00) | |||
| Min-max | 18.00-92.00 | 19.00-98.00 | 20.00-86.00 | 21.00-89.00 | |||
| Height, cm | mean ± SD | 167.13 ± 9.34 (n = 1214) | 167.49 ± 12.70 (n = 818) | 167.67 ± 9.46 (n = 278) | 167.73 ± 9.77 (n = 281) | Kruskal-Wallis | 0.122 |
| Median (Q1, Q3) | 165.00 (160.00, 174.00) | 168.00 (160.00, 175.00) | 167.00 (160.00, 174.00) | 166.00 (160.00, 176.00) | |||
| Min-max | 148.00-197.00 | NA1, 192.00 | 148.00-195.00 | 140.00-190.00 | |||
| Weight, kg | mean ± SD | 78.57 ± 17.12 (n = 1214) | 80.46 ± 17.36 (n = 818) | 82.76 ± 20.02 (n = 278) | 86.18 ± 17.20 (n = 281) | Kruskal-Wallis | < 0.001 |
| Median (Q1, Q3) | 78.00 (65.00, 89.00) | 80.00 (70.00, 90.00) | 80.00 (68.00, 95.00) | 85.00 (74.00, 97.00) | |||
| Min-max | 39.80-170.00 | NA1, 167.00 | 50.00-150.00 | 47.00, 140.00 | |||
| BMI, kg/m2 | mean ± SD | 28.15 ± 5.84 (n = 1214) | 28.60 ± 5.57 (n = 816) | 29.41 ± 6.44 (n = 278) | 30.61 ± 5.59 (n = 281) | Kruskal-Wallis | < 0.001 |
| Median (Q1, Q3) | 27.68 (23.84, 31.64) | 27.77 (24.81, 31.64) | 28.48 (24.43, 33.91) | 30.22 (26.63, 33.61) | |||
| Min-max | 14.71-61.69 | NA1, 53.35 | 16.46-48.05 | 16.26-48.49 | |||
| Sex | Male, n (%) | 432 (35.58) | 385 (47.07) | 89 (32.01) | 127 (45.20) | χ2 test | < 0.001 |
| Female, n (%) | 782 (64.42) | 423 (51.71) | 189 (67.99) | 144 (51.25) |
Table 2 The final model configuration
| Hyperparameter | Value | Purpose |
| n_estimators | 1000 | Number of sequentially fitted trees in the ensemble |
| max_depth | 4 | Maximum tree depth, allowing feature interactions to be captured |
| learning_rate | 0.03 | Learning rate; the low value supports gradual accumulation of predictive signal |
| min_child_weight | 1 | Minimum observation weight required in a terminal node |
| reg_lambda | 1 | L2 regularization of leaf weights |
| subsample | 0.9 | Proportion of observations used to construct each tree |
| colsample_bytree | 0.9 | Proportion of features used to construct each tree |
| scale_pos_weight | Calculated individually | Compensation for class imbalance |
Table 3 Corrected discrimination of the 52-predictor model: Type 1 diabetes mellitus vs absence of diabetes
| Subgroup | n | n (DM) | Prevalence | AUC | 95%CI |
| CAD without MI (W) - present | 338 | 60 | 0.178 | 0.713 | 0.637-0.786 |
| CAD without MI (W) - absent | 1908 | 154 | 0.081 | 0.660 | 0.614-0.705 |
| History of MI (X) - present | 189 | 24 | 0.127 | 0.804 | 0.710-0.890 |
| History of MI (X) - absent | 2057 | 190 | 0.092 | 0.668 | 0.621-0.713 |
| CHF (AO) - present | 511 | 52 | 0.102 | 0.685 | 0.605-0.770 |
| CHF (AO) - absent | 1735 | 162 | 0.093 | 0.680 | 0.634-0.723 |
| LVEF ≤ 55% (AV) - present | 153 | 18 | 0.118 | 0.669 | 0.513-0.809 |
| LVEF ≤ 55% (AV) - absent | 2093 | 196 | 0.094 | 0.710 | 0.668-0.749 |
| Any valvular heart disease (CE) - present | 284 | 5 | 0.018 | Not modeled | - |
| Any valvular heart disease (CE) - absent | 1962 | 209 | 0.107 | 0.675 | 0.636-0.716 |
| Myocardial hypertrophy - present | 154 | 4 | 0.026 | Not modeled | - |
| Myocardial hypertrophy - absent | 2092 | 210 | 0.100 | 0.702 | 0.661-0.741 |
| Any cardiac pathology - present | 905 | 87 | 0.096 | 0.714 | 0.653-0.774 |
| Any cardiac pathology - absent | 1341 | 127 | 0.095 | 0.711 | 0.663-0.760 |
Table 4 Corrected discrimination of the 52-predictor model: Type 2 diabetes mellitus vs absence of diabetes
| Subgroup | n | n (DM) | Prevalence | AUC | 95%CI |
| CAD without MI (W) - present | 332 | 54 | 0.163 | 0.566 | 0.486-0.645 |
| CAD without MI (W) - absent | 2045 | 291 | 0.142 | 0.681 | 0.646-0.714 |
| History of MI (X) - present | 216 | 51 | 0.236 | 0.662 | 0.568-0.752 |
| History of MI (X) - absent | 2161 | 294 | 0.136 | 0.693 | 0.657-0.727 |
| CHF (AO) - present | 567 | 108 | 0.190 | 0.655 | 0.599-0.713 |
| CHF (AO) - absent | 1810 | 237 | 0.131 | 0.659 | 0.620-0.697 |
| LVEF ≤ 55% (AV) - present | 166 | 31 | 0.187 | 0.543 | 0.425-0.663 |
| LVEF ≤ 55% (AV) - absent | 2211 | 314 | 0.142 | 0.669 | 0.637-0.701 |
| Any valvular heart disease (CE) - present | 369 | 90 | 0.244 | 0.677 | 0.612-0.743 |
| Any valvular heart disease (CE) - absent | 2008 | 255 | 0.127 | 0.655 | 0.621-0.690 |
| Myocardial hypertrophy - present | 193 | 43 | 0.223 | 0.615 | 0.518-0.708 |
| Myocardial hypertrophy - absent | 2184 | 302 | 0.138 | 0.674 | 0.640-0.708 |
| Any cardiac pathology - present | 1012 | 194 | 0.192 | 0.637 | 0.593-0.681 |
| Any cardiac pathology - absent | 1365 | 151 | 0.111 | 0.716 | 0.672-0.758 |
Table 5 Corrected comparison of discrimination according to cardiac-pathology status: Type 1 diabetes mellitus
| Criterion | AUC present | AUC absent | ΔAUC (absent-present) | 95%CI ΔAUC | Raw P value | BH-adjusted P value |
| CAD without MI (W) | 0.713 | 0.660 | -0.053 | -0.139 to 0.035 | 0.242 | 0.524 |
| History of MI (X) | 0.804 | 0.668 | -0.135 | -0.231 to -0.030 | 0.009 | 0.064 |
| CHF (AO) | 0.685 | 0.680 | -0.006 | -0.100 to 0.085 | 0.904 | 0.938 |
| LVEF ≤ 55% (AV) | 0.669 | 0.710 | +0.040 | -0.112 to 0.196 | 0.636 | 0.848 |
| Any valvular heart disease (CE) | - | 0.675 | - | - | - | - |
| Myocardial hypertrophy | - | 0.702 | - | - | - | - |
| Any cardiac pathology | 0.714 | 0.711 | -0.003 | -0.077 to 0.069 | 0.938 | 0.938 |
Table 6 Corrected comparison of discrimination according to cardiac-pathology status: Type 2 diabetes mellitus
| Criterion | AUC present | AUC absent | ΔAUC (absent-present) | 95%CI ΔAUC | Raw P value | BH-adjusted P value |
| CAD without MI (W) | 0.566 | 0.681 | +0.115 | 0.026-0.204 | 0.014 | 0.064 |
| History of MI (X) | 0.662 | 0.693 | +0.030 | -0.068 to 0.128 | 0.558 | 0.837 |
| CHF (AO) | 0.655 | 0.659 | +0.004 | -0.063 to 0.073 | 0.925 | 0.938 |
| LVEF ≤ 55% (AV) | 0.543 | 0.669 | +0.125 | 0.007-0.247 | 0.043 | 0.129 |
| Any valvular heart disease (CE) | 0.677 | 0.655 | -0.022 | -0.093 to 0.052 | 0.549 | 0.837 |
| Myocardial hypertrophy | 0.615 | 0.674 | +0.060 | -0.045 to 0.167 | 0.262 | 0.524 |
| Any cardiac pathology | 0.637 | 0.716 | +0.079 | 0.016-0.141 | 0.016 | 0.064 |
Table 7 Descriptive comparison of the corrected 52-predictor model and the seven-predictor sensitivity model
| Diabetes | Subgroup | Events | AUC: 52 predictors | AUC: 7 predictors | ΔAUC (7-52) |
| Type 1 | CAD without MI (W) - present | 60 | 0.713 | 0.729 | +0.016 |
| Type 1 | CAD without MI (W) - absent | 154 | 0.660 | 0.653 | -0.007 |
| Type 1 | History of MI (X) - present | 24 | 0.804 | 0.750 | -0.054 |
| Type 1 | History of MI (X) - absent | 190 | 0.668 | 0.671 | +0.003 |
| Type 1 | CHF (AO) - present | 52 | 0.685 | 0.725 | +0.040 |
| Type 1 | CHF (AO) - absent | 162 | 0.680 | 0.674 | -0.006 |
| Type 1 | LVEF ≤ 55% (AV) - present | 18 | 0.669 | 0.821 | +0.152 |
| Type 1 | LVEF ≤ 55% (AV) - absent | 196 | 0.710 | 0.692 | -0.018 |
| Type 1 | Any valvular heart disease (CE) - absent | 209 | 0.675 | 0.691 | +0.016 |
| Type 1 | Myocardial hypertrophy - absent | 210 | 0.702 | 0.681 | -0.021 |
| Type 1 | Any cardiac pathology - present | 87 | 0.714 | 0.781 | +0.067 |
| Type 1 | Any cardiac pathology - absent | 127 | 0.711 | 0.672 | -0.039 |
| Type 2 | CAD without MI (W) - present | 54 | 0.566 | 0.636 | +0.070 |
| Type 2 | CAD without MI (W) - absent | 291 | 0.681 | 0.691 | +0.010 |
| Type 2 | History of MI (X) - present | 51 | 0.662 | 0.649 | -0.013 |
| Type 2 | History of MI (X) - absent | 294 | 0.693 | 0.696 | +0.003 |
| Type 2 | CHF (AO) - present | 108 | 0.655 | 0.665 | +0.010 |
| Type 2 | CHF (AO) - absent | 237 | 0.659 | 0.685 | +0.026 |
| Type 2 | LVEF ≤ 55% (AV) - present | 31 | 0.543 | 0.551 | +0.008 |
| Type 2 | LVEF ≤ 55% (AV) - absent | 314 | 0.669 | 0.697 | +0.028 |
| Type 2 | Any valvular heart disease (CE) - present | 90 | 0.677 | 0.691 | +0.014 |
| Type 2 | Any valvular heart disease (CE) - absent | 255 | 0.655 | 0.659 | +0.003 |
| Type 2 | Myocardial hypertrophy - present | 43 | 0.615 | 0.583 | -0.032 |
| Type 2 | Myocardial hypertrophy - absent | 302 | 0.674 | 0.699 | +0.025 |
| Type 2 | Any cardiac pathology - present | 194 | 0.637 | 0.644 | +0.007 |
| Type 2 | Any cardiac pathology - absent | 151 | 0.716 | 0.653 | -0.062 |
Table 8 Internal calibration metrics calculated from corrected out-of-fold predictions
| Diabetes | Subgroup | n | Events | Brier | Calibration intercept | Calibration slope |
| Type 1 | CAD without MI (W) - present | 338 | 60 | 0.144 | -0.605 | 0.327 |
| Type 1 | CAD without MI (W) - absent | 1908 | 154 | 0.075 | -1.228 | 0.319 |
| Type 1 | History of MI (X) - present | 189 | 24 | 0.102 | -0.535 | 0.462 |
| Type 1 | History of MI (X) - absent | 2057 | 190 | 0.082 | -1.126 | 0.369 |
| Type 1 | CHF (AO) - present | 511 | 52 | 0.088 | -0.877 | 0.322 |
| Type 1 | CHF (AO) - absent | 1735 | 162 | 0.083 | -1.002 | 0.378 |
| Type 1 | LVEF ≤ 55% (AV) - present | 153 | 18 | 0.114 | -1.095 | 0.262 |
| Type 1 | LVEF ≤ 55% (AV) - absent | 2093 | 196 | 0.079 | -0.865 | 0.467 |
| Type 1 | Any valvular heart disease (CE) - absent | 1962 | 209 | 0.094 | -1.020 | 0.384 |
| Type 1 | Myocardial hypertrophy - absent | 2092 | 210 | 0.084 | -0.903 | 0.449 |
| Type 1 | Any cardiac pathology - present | 905 | 87 | 0.077 | -0.698 | 0.407 |
| Type 1 | Any cardiac pathology - absent | 1341 | 127 | 0.083 | -0.847 | 0.386 |
| Type 2 | CAD without MI (W) - present | 332 | 54 | 0.167 | -1.287 | 0.104 |
| Type 2 | CAD without MI (W) - absent | 2045 | 291 | 0.120 | -0.812 | 0.425 |
| Type 2 | History of MI (X) - present | 216 | 51 | 0.188 | -0.624 | 0.270 |
| Type 2 | History of MI (X) - absent | 2161 | 294 | 0.117 | -0.864 | 0.433 |
| Type 2 | CHF (AO) - present | 567 | 108 | 0.163 | -0.732 | 0.270 |
| Type 2 | CHF (AO) - absent | 1810 | 237 | 0.117 | -0.975 | 0.338 |
| Type 2 | LVEF ≤ 55% (AV) - present | 166 | 31 | 0.179 | -1.221 | 0.078 |
| Type 2 | LVEF ≤ 55% (AV) - absent | 2211 | 314 | 0.124 | -0.947 | 0.386 |
| Type 2 | Any valvular heart disease (CE) - present | 369 | 90 | 0.200 | -0.597 | 0.264 |
| Type 2 | Any valvular heart disease (CE) - absent | 2008 | 255 | 0.117 | -1.052 | 0.328 |
| Type 2 | Myocardial hypertrophy - present | 193 | 43 | 0.229 | -0.918 | 0.138 |
| Type 2 | Myocardial hypertrophy - absent | 2184 | 302 | 0.120 | -0.907 | 0.399 |
| Type 2 | Any cardiac pathology - present | 1012 | 194 | 0.164 | -0.807 | 0.269 |
| Type 2 | Any cardiac pathology - absent | 1365 | 151 | 0.096 | -0.641 | 0.424 |
- Citation: Karbovskaya AD, Marzoog BA, Demchuk SN, Stroeva A, Zelenov DA, Chomakhidze P, Kuznetsova N, Abromavich S, Fadeev VV, Poluboyarinova IV, Ismailova SM, Kopylov P. Cardiac comorbidity role in the diagnosis of diabetes mellitus using single lead electrocardiogram utilizing machine learning model. World J Cardiol 2026; 18(11): 126754
- URL: https://www.wjgnet.com/1949-8462/full/v18/i11/126754.htm
- DOI: https://dx.doi.org/10.4330/wjc.126754