Research Article
Network Intrusion Detection Method Based on PCA and Bayes Algorithm
Table 7
Precision, recall, and f1-score.
| model | category | precision | recall | f1-score |
| KNN | normal | 0.75 | 0.99 | 0.85 | abnormal | 1.00 | 0.92 | 0.96 | avg / total | 0.95 | 0.93 | 0.94 |
| SVM | normal | 0.66 | 1.00 | 0.79 | abnormal | 1.00 | 0.88 | 0.93 | avg / total | 0.93 | 0.90 | 0.91 |
| GDB | normal | 0.76 | 0.99 | 0.86 | abnormal | 1.00 | 0.92 | 0.96 | avg / total | 0.95 | 0.94 | 0.94 |
| GNB | normal | 0.54 | 0.98 | 0.70 | abnormal | 0.99 | 0.80 | 0.88 | avg / total | 0.90 | 0.83 | 0.85 |
| PCA+GNB | normal | 0.00 | 0.00 | 0.00 | abnormal | 0.81 | 1.00 | 0.89 | avg / total | 0.65 | 0.81 | 0.72 |
| IPCA+GNB | normal | 0.80 | 0.73 | 0.76 | abnormal | 0.94 | 0.96 | 0.95 | avg / total | 0.91 | 0.91 | 0.91 |
|
|