Research Article
Rapid and Nondestructive On-Site Classification Method for Consumer-Grade Plastics Based on Portable NIR Spectrometer and Machine Learning
Table 3
Performance of classification models for transparent commercial plastic samples.
| PCA (n) | Calibration | Prediction | ACC (%) | ACC (%) | Precision (%) | Sensitivity (%) | F1-score (100) | Micro | Macro | Micro | Macro | Micro | Macro |
| SVM | MSC | 3 | 100 | 84.37 | 84.37 | 85.90 | 84.37 | 84.37 | 84.37 | 83.80 | SNV | 2 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | D1 | 3 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | SG | 5 | 99.70 | 98.75 | 98.75 | 98.80 | 98.75 | 98.75 | 98.75 | 98.74 |
| KNN | MSC | 3 | 100 | 84.37 | 84.37 | 85.90 | 84.37 | 84.37 | 84.37 | 83.80 | SNV | 2 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | D1 | 3 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | SG | 5 | 99.48 | 98.73 | 98.73 | 98.79 | 98.73 | 98.73 | 98.73 | 98.73 |
| BPNN | MSC | 2 | 100 | 86.25 | 86.25 | 89.10 | 86.25 | 86.25 | 86.25 | 85.51 | SNV | 2 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | D1 | 2 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | SG | 2 | 98.50 | 100 | 100 | 100 | 100 | 100 | 100 | 100 |
|
|