Table 4.
Overall performance of classification algorithms.
Models | Total cocoa bean samples | PCs | Identification rate (%) | ||
---|---|---|---|---|---|
Calibration set | Prediction set | Calibration set | Prediction set | ||
RF | 182 | 78 | 9 | 96.15 | 98.08 |
KNN | 182 | 78 | 5 | 91.35 | 92.31 |
LDA | 182 | 78 | 5 | 90.38 | 98.08 |
PLS-DA | 182 | 78 | 5 | 100.00 | 100.00 |