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
Multicenter Study
. 2024 Dec 11:26:e52107.
doi: 10.2196/52107.

Early Detection of Dementia in Populations With Type 2 Diabetes: Predictive Analytics Using Machine Learning Approach

Affiliations
Multicenter Study

Early Detection of Dementia in Populations With Type 2 Diabetes: Predictive Analytics Using Machine Learning Approach

Phan Thanh Phuc et al. J Med Internet Res. .

Abstract

Background: The possible association between diabetes mellitus and dementia has raised concerns, given the observed coincidental occurrences.

Objective: This study aimed to develop a personalized predictive model, using artificial intelligence, to assess the 5-year and 10-year dementia risk among patients with type 2 diabetes mellitus (T2DM) who are prescribed antidiabetic medications.

Methods: This retrospective multicenter study used data from the Taipei Medical University Clinical Research Database, which comprises electronic medical records from 3 hospitals in Taiwan. This study applied 8 machine learning algorithms to develop prediction models, including logistic regression, linear discriminant analysis, gradient boosting machine, light gradient boosting machine, AdaBoost, random forest, extreme gradient boosting, and artificial neural network (ANN). These models incorporated a range of variables, encompassing patient characteristics, comorbidities, medication usage, laboratory results, and examination data.

Results: This study involved a cohort of 43,068 patients diagnosed with type 2 diabetes mellitus, which accounted for a total of 1,937,692 visits. For model development and validation, 1,300,829 visits were used, while an additional 636,863 visits were reserved for external testing. The area under the curve of the prediction models range from 0.67 for the logistic regression to 0.98 for the ANNs. Based on the external test results, the model built using the ANN algorithm had the best area under the curve (0.97 for 5-year follow-up period and 0.98 for 10-year follow-up period). Based on the best model (ANN), age, gender, triglyceride, hemoglobin A1c, antidiabetic agents, stroke history, and other long-term medications were the most important predictors.

Conclusions: We have successfully developed a novel, computer-aided, dementia risk prediction model that can facilitate the clinical diagnosis and management of patients prescribed with antidiabetic medications. However, further investigation is required to assess the model's feasibility and external validity.

Keywords: TMUCRD; Taipei Medical University Clinical Research Database; dementia; diabetes; machine learning; prediction model.

PubMed Disclaimer

Conflict of interest statement

Conflicts of Interest: None declared.

Figures

Figure 1
Figure 1
Overview of the cohort population. DM: diabetes mellitus; T1DM: type 1 diabetes mellitus; T2DM: type 2 diabetes mellitus; TMUCRD: Taipei Medical University Clinical Research Database.
Figure 2
Figure 2
The performance of the prediction models in the testing dataset. (A) 5-year follow-up of dementia incidence using machine learning models, (B) 10-year follow-up of dementia incidence using machine learning models, (C) 5-year follow-up of dementia incidence using the ANN model, and (D) 10-year follow-up of dementia incidence using the ANN model. ANN: artificial neural network; AUC: area under the curve; LGBM: light gradient boosting machine; XGB: extreme gradient boosting.
Figure 3
Figure 3
Feature importance of the artificial neural network prediction model. (A) 5-year follow-up of dementia incidence, (B) 10-year follow-up of dementia incidence. DM: diabetes mellitus; Dx: disease; Lab: laboratory exam; Rx: medication; SHAP: Shapley additive explanations.

References

    1. Carracher AM, Marathe PH, Close KL. International Diabetes Federation 2017. J Diabetes. 2018;10(5):353–356. doi: 10.1111/1753-0407.12644. - DOI - PubMed
    1. Deshpande AD, Harris-Hayes M, Schootman M. Epidemiology of diabetes and diabetes-related complications. Phys Ther. 2008;88(11):1254–164. doi: 10.2522/ptj.20080020. https://europepmc.org/abstract/MED/18801858 ptj.20080020 - DOI - PMC - PubMed
    1. Ellahham S. Artificial intelligence: the future for diabetes care. Am J Med. 2020;133(8):895–900. doi: 10.1016/j.amjmed.2020.03.033.S0002-9343(20)30339-9 - DOI - PubMed
    1. Collins GS, Mallett S, Omar O, Yu LM. Developing risk prediction models for type 2 diabetes: a systematic review of methodology and reporting. BMC Med. 2011;9:103. doi: 10.1186/1741-7015-9-103. https://bmcmedicine.biomedcentral.com/articles/10.1186/1741-7015-9-103 1741-7015-9-103 - DOI - DOI - PMC - PubMed
    1. Lee DY, Kim J, Park S, Park SY, Yu JH, Seo JA, Kim NH, Yoo HJ, Kim SG, Choi KM, Baik SH, Han K, Kim NH. Fasting glucose variability and the risk of dementia in individuals with diabetes: a nationwide cohort study. Diabetes Metab J. 2022;46(6):923–935. doi: 10.4093/dmj.2021.0346. https://europepmc.org/abstract/MED/35609876 dmj.2021.0346 - DOI - PMC - PubMed

Publication types

Substances

LinkOut - more resources