Table 3.
(A–C) Confusion Matrices Highlighting 100% Predictive Accuracy of Absorbance-Transmittance Excitation Emission Matrix Method (Using Gas Chromatography-Flame Ionization Reference Data) to Classify Samples into Three Cannabis Varieties: Tetrahydrocannabinol (THC)-Dominant Chemotype, THC–Cannabidiol (CBD) Intermediate Chemotype, and CBD-Dominant Chemotype
| Actual | Predicted |
Total | Correct % | ||||
|---|---|---|---|---|---|---|---|
| CBD-dominant chemotype | THC–CBD-intermediate chemotype | THC-dominant chemotype | |||||
| (A). Calibration | |||||||
| CBD-dominant chemotype | 346 | 0 | 0 | 346 | 100 | ||
| THC–CBD-intermediate chemotype | 0 | 60 | 0 | 60 | 100 | ||
| THC-dominant chemotype | 0 | 0 | 109 | 109 | 100 | ||
| (B). Cross-validation | |||||||
| CBD-dominant chemotype | 346 | 0 | 0 | 346 | 100 | ||
| THC–CBD intermediate chemotype | 0 | 60 | 0 | 60 | 100 | ||
| THC-dominant chemotype | 0 | 0 | 109 | 109 | 100 | ||
| (C). Validation | |||||||
| CBD-dominant chemotype | 24 | 0 | 0 | 24 | 100 | ||
| THC–CBD intermediate chemotype | 0 | 12 | 0 | 12 | 100 | ||
| THC-dominant chemotype | 0 | 0 | 23 | 23 | 100 | ||
Results from XGBDA. Calibration (A), cross-validation (B), and prediction (C) all reflect 100% predictive accuracy.
XGBDA, extreme gradient boost discrimination analysis.