Diabetic retinopathy classification for supervised machine learning algorithms