ALB and diabetes mellitus: For differential diagnosis, the random forest (RF) model achieved an AUC of 0.901, with diabetic retinopathy, diabetes duration, albumin, blood urea nitrogen, MR2*, hypertension, and glycosylated hemoglobin as the most contributing factors.