Table 4:

Model predictions by sample grade—confusion matrix for the random forest model trained on 4 fixed variablesa

PredictedReference
NormalLowerHigherTotal
Conventional plus advanced
 Normal531054
 Lower241143
 Higher0067
 Totaln = 55n = 42n = 7104
Conventional only
 Normal525057
 Lower336342
 Higher0145
 Totaln = 55n = 42n = 7104
  • a A perfect classifier would have all entries along the main diagonal. The random forest using conventional-plus-advanced imaging had 96.2% (100/104) overall accuracy with κ = 0.930, whereas the random forest using only conventional imaging had 88.5% (92/104) accuracy with κ = 0.788. The conventional-only classifier also misclassified 43% (3/7) of high-grade samples.