Machine learning for the prediction of new-onset diabetes mellitus during 5-year follow-up in non-diabetic patients with cardiovascular risks

Byoung Geol Choi, Seung Woon Rha, Suhng Wook Kim, Jun Hyuk Kang, Ji Young Park, Yung Kyun Noh

Research output: Contribution to journalArticlepeer-review

48 Citations (Scopus)


Purpose: Many studies have proposed predictive models for type 2 diabetes mellitus (T2DM). However, these predictive models have several limitations, such as user convenience and reproducibility. The purpose of this study was to develop a T2DM predictive model using electronic medical records (EMRs) and machine learning and to compare the performance of this model with traditional statistical methods. Materials and Methods: In this study, a total of available 8454 patients who had no history of diabetes and were treated at the cardiovascular center of Korea University Guro Hospital were enrolled. All subjects completed 5 years of follow up. The prevalence of T2DM during follow up was 4.78% (404/8454). A total of 28 variables were extracted from the EMRs. In order to verify the cross-validation test according to the prediction model, logistic regression (LR), linear discriminant analysis (LDA), quadratic discriminant analysis (QDA), and K-nearest neighbor (KNN) algorithm models were generated. The LR model was considered as the existing statistical analysis method. Results: All predictive models maintained a change within the standard deviation of area under the curve (AUC) <0.01 in the analysis after a 10-fold cross-validation test. Among all predictive models, the LR learning model showed the highest prediction performance, with an AUC of 0.78. However, compared to the LR model, the LDA, QDA, and KNN models did not show a statistically significant difference. Conclusion: We successfully developed and verified a T2DM prediction system using machine learning and an EMR database, and it predicted the 5-year occurrence of T2DM similarly to with a traditional prediction model. In further study, it is necessary to apply and verify the prediction model through clinical research.

Original languageEnglish
Pages (from-to)191-199
Number of pages9
JournalYonsei medical journal
Issue number2
Publication statusPublished - 2019 Feb

Bibliographical note

Funding Information:
This work was supported by Korea Institute for Advancement of Technology (KIAT) grant funded by the Korea government (MOTIE) (P0006675, Development of blood glucose measurement system for self-monitoring of blood glucose).

Publisher Copyright:
© Yonsei University College of Medicine 2019.


  • Big data
  • Diabetes
  • Machine learning
  • Prediction
  • Type 2 diabetes mellitus

ASJC Scopus subject areas

  • Medicine(all)


Dive into the research topics of 'Machine learning for the prediction of new-onset diabetes mellitus during 5-year follow-up in non-diabetic patients with cardiovascular risks'. Together they form a unique fingerprint.

Cite this