Fig. 5: Confusion matrices and classification accuracy.

a Confusion matrix for the 4-class HER2 classification network for all scans. b Confusion matrix for the 4-class HER2 classification network with the highest CI scores. c Confusion matrix for the 4-class HER2 classification network with average CI scores. d Confusion matrix for the 2-class HER2 classification network for all scans. e Confusion matrix for the 2-class HER2 classification network with the highest CI scores. f Confusion matrix for the 2-class network with the average CI scores. N refers to the number of times each slide (or patient sample) was non-consecutively and separately scanned.