This document discusses using machine learning algorithms to diagnose diabetic retinopathy through analysis of retinal images. Specifically, it proposes using a support vector machine (SVM) to classify images based on features extracted from image processing techniques. An initial image processing stage isolates features like blood vessels and lesions. The SVM then analyzes these features to determine the grade of diabetic retinopathy. Stochastic gradient descent is also used, achieving a classification accuracy of 91%. The goal is to automatically detect diabetic retinopathy at early stages to prevent vision loss.