Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Comparative Study
. 2020 Jul 1;27(9):1343-1351.
doi: 10.1093/jamia/ocaa120.

Predicting complications of diabetes mellitus using advanced machine learning algorithms

Affiliations
Comparative Study

Predicting complications of diabetes mellitus using advanced machine learning algorithms

Branimir Ljubic et al. J Am Med Inform Assoc. .

Abstract

Objective: We sought to predict if patients with type 2 diabetes mellitus (DM2) would develop 10 selected complications. Accurate prediction of complications could help with more targeted measures that would prevent or slow down their development.

Materials and methods: Experiments were conducted on the Healthcare Cost and Utilization Project State Inpatient Databases of California for the period of 2003 to 2011. Recurrent neural network (RNN) long short-term memory (LSTM) and RNN gated recurrent unit (GRU) deep learning methods were designed and compared with random forest and multilayer perceptron traditional models. Prediction accuracy of selected complications were compared on 3 settings corresponding to minimum number of hospitalizations between diabetes diagnosis and the diagnosis of complications.

Results: The diagnosis domain was used for experiments. The best results were achieved with RNN GRU model, followed by RNN LSTM model. The prediction accuracy achieved with RNN GRU model was between 73% (myocardial infarction) and 83% (chronic ischemic heart disease), while accuracy of traditional models was between 66% - 76%.

Discussion: The number of hospitalizations was an important factor for the prediction accuracy. Experiments with 4 hospitalizations achieved significantly better accuracy than with 2 hospitalizations. To achieve improved accuracy deep learning models required training on at least 1000 patients and accuracy significantly dropped if training datasets contained 500 patients. The prediction accuracy of complications decreases over time period. Considering individual complications, the best accuracy was achieved on depressive disorder and chronic ischemic heart disease.

Conclusions: The RNN GRU model was the best choice for electronic medical record type of data, based on the achieved results.

Keywords: RNN models; deep learning; diabetes mellitus; diabetes mellitus complications; machine learning.

PubMed Disclaimer

Figures

Figure 1.
Figure 1.
(A) Each row represents 1 patient (Pt). Different colors in each row represent different hospitalizations. Each hospitalization contained 1 or more diagnoses (d) and sometimes procedures (p). (B) Because the procedures domain did not produce good results, we dropped them and performed analyses on the diagnoses domain only.
Figure 2.
Figure 2.
The proposed deep learning models: (A) 1-way recurrent neural network long short-term memory (RNN LSTM) and (B) bidirectional RNN gradient recalled unit (GRU).
Figure 3.
Figure 3.
Prediction accuracy (recurrent neural network gradient recalled unit model) that patients with type 2 diabetes mellitus would develop diabetic retinopathy (A) after a minimum of 2 hospitalizations and (B) after at least 4 hospitalizations. The results are presented by intervals when retinopathy developed within 1 year and after 1, 2, 3, 4-5, and 6-8 years from the diagnosis of type 2 diabetes mellitus.
Figure 4.
Figure 4.
Predicted risk probabilities of development of each of 10 complications in patients with type 2 diabetes mellitus (Healthcare Cost and Utilization Project State Inpatient Databases California data). DD: depressive disorder; ICHD: ischemic chronic heart disease; MI: myocardial infarction; PVD: peripheral vascular disease.

References

    1. Orasanu G, Plutzky J. The pathologic continuum of diabetic vascular disease. J Am Coll Cardiol 2009; 53 (5): S35–42. - PMC - PubMed
    1. Deedwania PC. Management of patients with stable angina and type 2 diabetes. Rev Cardiovasc Med 2015; 16 (2): 105–13. - PubMed
    1. Duh EJ, Sun JK, Stitt AW. Diabetic retinopathy: current understanding, mechanisms, and treatment strategies. JCI Insight 2017; 2 (14): e93751. - PMC - PubMed
    1. Centers for Disease Control and Prevention. What is diabetes? https://www.cdc.gov/diabetes/basics/diabetes.html.
    1. World Health Organzation. Diabetes. https://www.who.int/health-topics/diabetes.

Publication types