Table 4 Comparison of algorithms.
Algorithms | Average accuracy (%) | Maximum accuracy (%) | Model speed |
|---|---|---|---|
PSO-CNN | 88.2 | 93.9 | Relatively fast |
CNN | 84.3 | 89.6 | Relatively fast |
Transformer | 87.6 | 90.7 | Relatively fast |
Random Forest | 87.1 | 90.4 | Fast |
SVM | 63.4 | 64.9 | Fast |
Algorithms | Average accuracy (%) | Maximum accuracy (%) | Model speed |
|---|---|---|---|
PSO-CNN | 88.2 | 93.9 | Relatively fast |
CNN | 84.3 | 89.6 | Relatively fast |
Transformer | 87.6 | 90.7 | Relatively fast |
Random Forest | 87.1 | 90.4 | Fast |
SVM | 63.4 | 64.9 | Fast |