Table 4. Classification accuracy (%) of Beijing You Chicken and Dwarf Beijing You Chicken eggs based on different algorithms.
| Classification algorithm | Fatty acid | Volatile compound | |
|---|---|---|---|
| SPME-GC-MS | Electronic nose | ||
| KNN | 91.7 | 50.0 | 100 |
| LDA | 83.3 | - | 100 |
| SVM | 91.7 | 16.7 | 100 |
| Decision tree | 50.0 | 33.3 | 100 |
SPME-GC-MS, solid-phase microextraction-gas chromatography-mass spectrometry; KNN, k-nearest neighbor; LDA, linear discriminant analysis; SVM, support vector machine.