Research Article

Classification of Diabetic Retinopathy Severity in Fundus Images Using the Vision Transformer and Residual Attention

Table 3

Confusion matrix on the DDR dataset for the IDRiD classification model.

Actual labelPredict label
01234

02001400
123000
2302900
3009100
4102010

Bold font indicates the best result in each column.