Table 5.
Performance of binary classifiers to detect intrusion.
| Models | Network packets | Accuracy (%) | Precision (%) | Recall (%) | F1 score (%) |
|---|---|---|---|---|---|
| QSVM | Normal | 95.77 | 93 | 92 | 96 |
| Attacks | 99 | 99 | 95 | ||
|
| |||||
| KNN | Normal | 98.55 | 98 | 99 | 98 |
| Attacks | 99 | 98 | 99 | ||
|
| |||||
| Linear discriminant | Normal | 96.77 | 96 | 98 | 97 |
| Attacks | 97 | 96 | 97 | ||
|
| |||||
| Quadratic discriminant | Normal | 68.91 | 63 | 100 | 77 |
| Attacks | 76 | 99 | 86 | ||