EUVIMEDObjevte EUVIMED
ValidierungsstudieOpen access

Development and Validation of a Machine Learning Algorithm for Predicting Diabetes Retinopathy in Patients With Type 2 Diabetes: Algorithm Development Study

Sunyoung Kim iD, Jaeyu Park iD, Yejun Son iD, Hojae Lee iD, Selin Woo iD, Myeongcheol Lee iD, Hayeon Lee iD, Hyunji Sang iD, Dong Keon Yon iD, Sang Youl Rhee iD

JMIR Medical Informatics · 2025

DOI: 10.2196/58107 ↗

At a glance

Validierungsstudie in JMIR Medical Informatics, 2025. Written by Sunyoung Kim and 9 co-authors. Institution: Department of Family Medicine, Kyung Hee University Medical Center, Kyung Hee University College of Medicine, Seoul, Republic of Korea. Major MEDLINE topics: Diabetic Retinopathy, Diabetes Mellitus, Type 2, Machine Learning, Algorithms. Cited 9 times so far (Crossref); 33 references. The full text is freely available in PubMed Central.

AbstraktSubjectsBibliografické údajeCiteRelated studies

Abstract (original language)

Background

Diabetic retinopathy (DR) is the leading cause of preventable blindness worldwide. Machine learning (ML) systems can enhance DR in community-based screening. However, predictive power models for usability and performance are still being determined.

Objective

This study used data from 3 university hospitals in South Korea to conduct a simple and accurate assessment of ML-based risk prediction for the development of DR that can be universally applied to adults with type 2 diabetes mellitus (T2DM).

Methods

DR was predicted using data from 2 independent electronic medical records: a discovery cohort (one hospital, n=14,694) and a validation cohort (2 hospitals, n=1856). The primary outcome was the presence of DR at 3 years. Different ML-based models were selected through hyperparameter tuning in the discovery cohort, and the area under the receiver operating characteristic (ROC) curve was analyzed in both cohorts.

Results

Among 14,694 patients screened for inclusion, 348 (2.37%) were diagnosed with DR. For DR, the extreme gradient boosting (XGBoost) system had an accuracy of 75.13% (95% CI 74.10‐76.17), a sensitivity of 71.00% (95% CI 66.83‐75.17), and a specificity of 75.23% (95% CI 74.16‐76.31) in the original dataset. Among the validation datasets, XGBoost had an accuracy of 65.14%, a sensitivity of 64.96%, and a specificity of 65.15%. The most common feature in the XGBoost model is dyslipidemia, followed by cancer, hypertension, chronic kidney disease, neuropathy, and cardiovascular disease.

Conclusions

This approach shows the potential to enhance patient outcomes by enabling timely interventions in patients with T2DM, improving our understanding of contributing factors, and reducing DR-related complications. The proposed prediction model is expected to be both competitive and cost-effective, particularly for primary care settings in South Korea.

Subjects

MeSH terms (MEDLINE)

Diabetic RetinopathyDiabetes Mellitus, Type 2Machine LearningAlgorithmsHumansMaleFemaleRepublic of KoreaMiddle AgedAgedElectronic Health RecordsRisk AssessmentAdultROC CurveRisk Factors

Author keywords

algorithmcomorbiditiesdiabetes retinopathymachine learningophthalmologypredictionretinaltype 2 diabetes

Authors and institutions

  • Department of Family Medicine, Kyung Hee University Medical Center, Kyung Hee University College of Medicine, Seoul, Republic of Korea.
  • Center for Digital Health, Medical Science Research Institute, Kyung Hee University College of Medicine, 23 Kyungheedae-ro, Dongdaemun-gu, Seoul, 02447, Republic of Korea, 82 1091565964, 82 29610680.
  • Department of Regulatory Science, Kyung Hee University, Seoul, Republic of Korea.
  • Department of Precision Medicine, Kyung Hee University College of Medicine, Seoul, Republic of Korea.
  • Department of Endocrinology, Kyung Hee University Medical Center, Kyung Hee University College of Medicine, Seoul, Republic of Korea.
  • Department of Pediatrics, Kyung Hee University Medical Center, Kyung Hee University College of Medicine, Seoul, Republic of Korea.

ORCID profiles: Sunyoung Kim, Jaeyu Park, Yejun Son, Hojae Lee, Selin Woo, Myeongcheol Lee, Hayeon Lee, Hyunji Sang, Dong Keon Yon, Sang Youl Rhee

Cite

APA

Kim, S., Park, J., Son, Y., Lee, H., Woo, S., Lee, M., Lee, H., Sang, H., Yon, D. K., & Rhee, S. Y. (2025). Development and Validation of a Machine Learning Algorithm for Predicting Diabetes Retinopathy in Patients With Type 2 Diabetes: Algorithm Development Study. JMIR Medical Informatics. https://doi.org/10.2196/58107

Vancouver

Kim S, Park J, Son Y, Lee H, Woo S, Lee M, et al. Development and Validation of a Machine Learning Algorithm for Predicting Diabetes Retinopathy in Patients With Type 2 Diabetes: Algorithm Development Study. JMIR Medical Informatics. 2025. doi:10.2196/58107

BibTeX
@article{Kim2025,
  author = {Kim, Sunyoung and Park, Jaeyu and Son, Yejun and Lee, Hojae and Woo, Selin and Lee, Myeongcheol and Lee, Hayeon and Sang, Hyunji and Yon, Dong Keon and Rhee, Sang Youl},
  title = {Development and Validation of a Machine Learning Algorithm for Predicting Diabetes Retinopathy in Patients With Type 2 Diabetes: Algorithm Development Study},
  journal = {JMIR Medical Informatics},
  year = {2025},
  doi = {10.2196/58107}
}
Start for free →