Table 4. Accuracy and execution time for each dataset in cloud testing.
| Algorithms | DDoS-2020_Dataset accuracy (%) | NSL-KDD_Dataset accuracy (%) |
|---|---|---|
| Naïve bayes | 81.86 | 89.42 |
| Decision tree | 97.89 | 97.25 |
| K-neighbors | 98.49 | 95.23 |
| Random forest | 99.38 | 99.30 |
| Algorithms | DDoS-2020_Dataset accuracy (%) | NSL-KDD_Dataset accuracy (%) |
|---|---|---|
| Naïve bayes | 81.86 | 89.42 |
| Decision tree | 97.89 | 97.25 |
| K-neighbors | 98.49 | 95.23 |
| Random forest | 99.38 | 99.30 |