1Department of Endocrinology, The First Affiliated Hospital of Hainan Medical University, Haikou, China
2International School of Nursing, Hainan Medical University, Haikou, China
3School of International Education, Nanjing Medical University, Nanjing, China
4Nursing Department 531, The First Affiliated Hospital of Hainan Medical University, Haikou, China
5Department of Medicine, Division of Endocrinology & Metabolism, Renaissance School of Medicine, Stony Brook University, Stony Brook, NY, USA
6Department of Endocrinology, Hainan General Hospital, Haikou, China
7Lee’s United Clinic, Pingtung City, Taiwan
8The First Affiliated Hospital of Hainan Medical University, Hainan Clinical Research Center for Metabolic Disease, Haikou, China
Copyright © 2024 Korean Diabetes Association
This is an Open Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/4.0/) which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.
CONFLICTS OF INTEREST
No potential conflict of interest relevant to this article was reported.
AUTHOR CONTRIBUTIONS
Conception or design: Q.L.
Acquisition, analysis, or interpretation of data: C.Y., F.T., Z.G., W.W., F.B., H.L., Y.L., Q.L.
Drafting the work or revising: C.Y., F.T., J.D.M., Q.L.
Final approval of the manuscript: all authors.
FUNDING
This study was supported by National Key R&D program of China (2021YFE0204800) and Key R&D Program of Hainan Province (ZDYF2021SHFZ236).
Values are presented as mean±standard deviation, number (%), or median (interquartile range). HOMA2 Calculator software (https://www.dtu.ox.ac.uk/homacalculator/) was used to calculate homeostatic model assessment of β-cell function and insulin resistance (HOMA2-β and HOMA2-IR, respectively).
DKD, diabetic kidney disease; BMI, body mass index; HbA1c, glycosylated hemoglobin; SBP, systolic blood pressure; HOMA2-IR, homeostasis model assessment of insulin resistance; TG, triacylglycerol; HDL-C, high-density lipoprotein cholesterol; UACR, urinary albumin/creatinine ratio; PP, pulse pressure.
HbA1c variability not included | SBP variability not included | PP variability not included | Optimal LSTM | |
---|---|---|---|---|
Precision | 0.64a | 0.65a | 0.70a | 0.77 |
Accuracy | 0.78a | 0.79a | 0.81a | 0.86 |
Recall | 0.61a | 0.65a | 0.67a | 0.76 |
The construction process is based on the structural design of the LSTM neural network prediction model. |
---|
class lstm (nn.Module): #define the network structure |
def_init_ (self,input_size,hidden_size,output_size,num_layer): |
super (lstm,self)._init_() |
self.layer1=nn.LSTM (input_size,hidden_size,num_layer) |
self.layer2=nn.Linear (hidden_size,output_size) |
self.dropout=nn.Dropout (p=0) |
def forward (self,x): #define network output information |
x,_=self.layer1(x) |
s,b,h=x.size() |
x=x.view(s*b,h) #convert lstm’s 3D output to 2D sequences |
x=self.layer2(x) |
x=self.dropout(x) |
x=x.view(s,b,-1) |
return F.sigmoid(x) |
model=lstm(38,16,1,1) #define of network parameter structure |
criterion=nn.MSELoss() #define of loss function |
optimizer=torch.optim.Adam(model.parameters(),lr=1e-3) #define optimizer |
Variable | Training set (n=4,228) | Testing set (n=1,812) | P value |
---|---|---|---|
Age, yr | 54.31±10.98 | 54.90±11.49 | 0.636 |
Smoking | 1,289 (30.5) | 545 (30.1) | 0.831 |
Hypertension | 875 (20.7) | 168 (20.0) | 0.753 |
Duration of diabetes, yr | 9.65±6.59 | 8.71±5.92 | 0.411 |
Family history of DKD | 393 (9.3) | 185 (10.2) | 0.475 |
Diabetes retinopathy | 799 (18.9) | 368 (20.3) | 0.082 |
Exercise | 3,412 (80.7) | 1,493 (82.4) | 0.476 |
Meat intake, g/day | 190.13±24.31 | 188.79±30.42 | 0.357 |
No. of oral hypoglycemic drugs | 2 (0–3) | 2 (0–3) | 0.821 |
BMI, kg/m2 | 23.88±3.43 | 24.51±3.32 | 0.423 |
HbA1c, % | 9.38±1.87 | 8.97±1.82 | 0.114 |
Blood uric acid, μmol/L | 341.82±99.93 | 349.55±104.66 | 0.370 |
SBP, mm Hg | 129.43±15.16 | 132.00±10.56 | 0.401 |
HOMA2-IR | 2.55 (1.80–3.65) | 2.61 (1.83–3.46) | 0.454 |
TG, mmol/L | 2.09 (1.95–2.22) | 1.96 (1.82–2.22) | 0.094 |
HDL-C, mmol/L | 1.34±0.34 | 1.42±0.33 | 0.463 |
UACR, mg/g | 13.86±7.35 | 14.08±9.95 | 0.097 |
HbA1c variability | 1.36±0.83 | 1.25±0.59 | 0.379 |
SBP variability | 11.36±5.65 | 11.03±6.41 | 0.081 |
PP variability | 6.81±2.21 | 7.63±2.10 | 0.122 |
HbA1c variability not included | SBP variability not included | PP variability not included | Optimal LSTM | |
---|---|---|---|---|
Precision | 0.64 |
0.65 |
0.70 |
0.77 |
Accuracy | 0.78 |
0.79 |
0.81 |
0.86 |
Recall | 0.61 |
0.65 |
0.67 |
0.76 |
LSTM, long short term memory.
Values are presented as mean±standard deviation, number (%), or median (interquartile range). HOMA2 Calculator software ( DKD, diabetic kidney disease; BMI, body mass index; HbA1c, glycosylated hemoglobin; SBP, systolic blood pressure; HOMA2-IR, homeostasis model assessment of insulin resistance; TG, triacylglycerol; HDL-C, high-density lipoprotein cholesterol; UACR, urinary albumin/creatinine ratio; PP, pulse pressure.
HbA1c, glycosylated hemoglobin; SBP, systolic blood pressure; PP, pulse pressure; LSTM, long short term memory. P<0.05 compared ideal model in which all the variability parameters were included.