Fig. 2

Validation of the model for grading fibrosis. (a) (top) We calculated the accuracy by comparing the scores of the actual pathologists and those of predicted by our models using 5-fold cross-validation. (a) (bottom) The comparison of the pathologist evaluation and the grade score estimated by the models. The models’ grade score was calculated by multiplying SoftMax values and grade numbers. The dashed line was fitted by the least-squares method and r value represents the correlation coefficient between the pathologist evaluation and the calculated grade score. (b) (top) To compare with (a), we calculated the accuracy of the models without patch pre-selection. (bottom) Similarly, we compared the pathologist evaluation and the grade score estimated by the models without patch pre-selection.