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
. 2024 Aug 13;14(16):1765.
doi: 10.3390/diagnostics14161765.

Evaluation of Systemic Risk Factors in Patients with Diabetes Mellitus for Detecting Diabetic Retinopathy with Random Forest Classification Model

Affiliations

Evaluation of Systemic Risk Factors in Patients with Diabetes Mellitus for Detecting Diabetic Retinopathy with Random Forest Classification Model

Ramesh Venkatesh et al. Diagnostics (Basel). .

Abstract

Background: This study aims to assess systemic risk factors in diabetes mellitus (DM) patients and predict diabetic retinopathy (DR) using a Random Forest (RF) classification model.

Methods: We included DM patients presenting to the retina clinic for first-time DR screening. Data on age, gender, diabetes type, treatment history, DM control status, family history, pregnancy history, and systemic comorbidities were collected. DR and sight-threatening DR (STDR) were diagnosed via a dilated fundus examination. The dataset was split 80:20 into training and testing sets. The RF model was trained to detect DR and STDR separately, and its performance was evaluated using misclassification rates, sensitivity, and specificity.

Results: Data from 1416 DM patients were analyzed. The RF model was trained on 1132 (80%) patients. The misclassification rates were 0% for DR and ~20% for STDR in the training set. External testing on 284 (20%) patients showed 100% accuracy, sensitivity, and specificity for DR detection. For STDR, the model achieved 76% (95% CI-70.7%-80.7%) accuracy, 53% (95% CI-39.2%-66.6%) sensitivity, and 80% (95% CI-74.6%-84.7%) specificity.

Conclusions: The RF model effectively predicts DR in DM patients using systemic risk factors, potentially reducing unnecessary referrals for DR screening. However, further validation with diverse datasets is necessary to establish its reliability for clinical use.

Keywords: diabetes; diabetic retinopathy; new cases; random forest classifier; screening.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest.

Figures

Figure 1
Figure 1
Flow chart depicting the process of model training and testing in the study.

References

    1. International Diabetes Federation IDF Diabetes Atlas [Internet] 2021. [(accessed on 15 November 2023)]. Available online: https://diabetesatlas.org/#:~:text=diabetes%20around%20the%20world%20in%....
    1. Magliano D., Boyko IDF Diabetes Atlas 10th Edition Scientific Committee IDF DIABETES ATLAS [Internet]. 10th Edition. Brussels: International Diabetes Federation; 2021. Table 3.4, Top 10 Countries or Territories for Number of Adults (20–79 Years) with Diabetes in 2021 and 2045. [(accessed on 15 May 2024)]. Available online: https://diabetesatlas.org/resources/?gad_source=1&gclid=Cj0KCQjw5ea1BhC6....
    1. Sayin N. Ocular Complications of Diabetes Mellitus. WJD. 2015;6:92. doi: 10.4239/wjd.v6.i1.92. - DOI - PMC - PubMed
    1. Vieira-Potter V.J., Karamichos D., Lee D.J. Ocular Complications of Diabetes and Therapeutic Approaches. BioMed Res. Int. 2016;2016:3801570. doi: 10.1155/2016/3801570. - DOI - PMC - PubMed
    1. Solomon S.D., Chew E., Duh E.J., Sobrin L., Sun J.K., VanderBeek B.L., Wykoff C.C., Gardner T.W. Diabetic Retinopathy: A Position Statement by the American Diabetes Association. Diabetes Care. 2017;40:412–418. doi: 10.2337/dc16-2641. - DOI - PMC - PubMed

LinkOut - more resources