background image

10 

 

Tables index: 

Table 1: distribution of traffic in training and test datasets ..................................................... 26

 

Table 2: all attack labels of the NSL-KDD, by class .................................................................... 26

 

Table 3: protocols in the NSL-KDD subsets............................................................................... 30

 

Table 4: flags in the NSL-KDD dataset ...................................................................................... 34

 

Table 5: labels of the dataframes before and after one-hot encoding .................................... 38

 

Table 6: correlation matrices dimensions ................................................................................ 42

 

Table 7: summary/comparison of classification algorithms performance in case A ................ 46

 

Table 8: summary/comparison of classification algorithms performance in case B ................ 47

 

Table 9: list of all the features in NSL-KDD ............................................................................... 53

 

Table 10: list of all the services in the NSL-KDD ....................................................................... 56

 

Table 11: logistic regression on the multiclass training set ...................................................... 57

 

Table 12: logistic regression on the multiclass test set (validation) ......................................... 58

 

Table 13: logistic regression on the binary training set ............................................................ 59

 

Table 14: logistic regression on the binary test set (validation) ............................................... 59

 

Table 15: logistic regression on the 4-class training set ........................................................... 59

 

Table 16: logistic regression on the 4-class test set (validation) .............................................. 59

 

Table 17: decision tree on the multiclass training set .............................................................. 60

 

Table 18: decision tree on the multiclass test set (validation) ................................................. 61

 

Table 19: decision tree on the binary training set .................................................................... 62

 

Table 20: decision tree on the binary test set (validation) ....................................................... 62

 

Table 21: decision tree on the 4-class training set ................................................................... 62

 

Table 22: decision tree on the 4-class test set (validation) ...................................................... 62

 

Table 23: knn on the multiclass training set ............................................................................. 63

 

Table 24: knn on multiclass test set (validation) ...................................................................... 64

 

Table 25: knn on binary training set ......................................................................................... 65

 

Table 26: knn on binary test set (validation) ............................................................................ 65

 

Table 27: knn on 4-class training set ........................................................................................ 65

 

Table 28: knn on 4-class test set (validation) ........................................................................... 65

 

Table 29: Gaussian Naive Bayes on multiclass training set ...................................................... 66

 

Table 30: Gaussian Naive Bayes on multiclass test set (validation) .......................................... 67

 

Table 31: Gaussian Naive Bayes on binary training set ............................................................ 68

 

Table 32: Gaussian Naive Bayes on binary test set (validation) ............................................... 68

 

Table 33: Gaussian Naive Bayes on 4-class training set ........................................................... 68

 

Table 34: Gaussian Naive Bayes on 4-class test set (validation) ............................................... 68

 

Table 35: MLP on multiclass training set .................................................................................. 69

 

Table 36: MLP on multiclass test set (validation) ..................................................................... 70

 

Table 37: MLP on binary training set ........................................................................................ 71

 

Table 38: MLP on binary test set (validation) ........................................................................... 71

 

Table 39: MLP on 4-class training set ....................................................................................... 71

 

Table 40: MLP on 4-class test set (validation) .......................................................................... 71

 

Table 41: logistic regression on the split multiclass training set .............................................. 72