Skip to main content
. 2020 Nov 6;9(11):1615. doi: 10.3390/foods9111615

Table 2.

Confusion matrix of PLSR, NB, and RF classification for crisp grass carp. (a) PLSR. Accuracy of all samples = 92.00%; Accuracy of crisp grass carp samples = 91.67%. (b) NB. Accuracy of all samples = 94.00%; Accuracy of crisp grass carp samples = 93.75%. (c) RF. Accuracy of all samples = 96.00%; Accuracy of crisp grass carp samples = 100%.

(a) PLSR model
Target Level 1 Level 2 Level 3 Level 4 Level 5 Sensitivity ASC ASA
level 1 48 3 0 1 0 92.31% - 91.79%
level 2 0 12 0 0 100% 92.00%
level 3 3 0 9 0 0 75.00%
level 4 0 0 0 11 1 91.66%
level 5 0 0 0 0 12 100%
Specificity 94.12% 80.00% 100% 91.67% 92.31% - - -
APC - 91.00% - - -
APA 91.62% - - -
(b) NB model
Target Level 1 Level 2 Level 3 Level 4 Level 5 Sensitivity ASC ASA
level 1 49 2 0 1 0 94.23% - 93.85%
level 2 0 12 0 0 0 100% 94.00%
level 3 1 2 9 0 0 75.00%
level 4 0 0 0 12 0 100%
level 5 0 0 0 0 12 100%
Specificity 98.00% 75.00% 100% 92.31% 100% - - -
APC - 91.83% - - -
APA 93.06% - - -
(c) RF model
Target Level 1 Level 2 Level 3 Level 4 Level 5 Sensitivity ASC ASA
level 1 48 3 0 1 0 92.30% - 98.46%
level 2 0 12 0 0 0 100% 100%
level 3 0 0 12 0 0 100%
level 4 0 0 0 12 0 100%
level 5 0 0 0 0 12 100%
Specificity 100% 80.00% 100% 92.31% 100% - - -
APC - 93.08% - - -
APA 94.46% - - -

Note: Refer to Table 1 for abbreviations.