background image

74 

 

Table 43: logistic regression on the split binary training set 

 

 

 

 

 

 

Table 44: logistic regression on the split binary test set (validation) 

 

precision  recall  f1-score  support 

abnormal 

0.97 

0.98 

0.97 

11575 

normal 

0.98 

0.97 

0.98 

13620 

 

 

 

 

 

accuracy 

 

 

0.97 

25195 

macro avg 

0.97 

0.97 

0.97 

25195 

weighted avg  0.97 

0.97 

0.97 

25195 

 

Table 45: logistic regression on the split 4-class training set 

 

precision  recall  f1-score  support 

DoS 

1.00 

1.00 

1.00 

36845 

Probe 

0.96 

0.98 

0.97 

9161 

R2L 

0.74 

0.81 

0.77 

718 

U2R 

0.54 

0.83 

0.66 

24 

normal 

0.99 

0.99 

0.99 

54030 

 

 

 

 

 

accuracy 

 

 

0.99 

100778 

macro avg 

0.85 

0.92 

0.88 

100778 

weighted avg  0.99 

0.99 

0.99 

100778 

 

Table 46: logistic regression on the split 4-class test set (validation) 

 

precision  recall  f1-score  support 

DoS 

1.00 

0.99 

1.00 

9191 

Probe 

0.96 

0.98 

0.97 

2293 

R2L 

0.76 

0.83 

0.79 

198 

U2R 

0.47 

0.78 

0.58 

normal 

0.99 

0.99 

0.99 

13504 

 

 

 

 

 

accuracy 

 

 

0.99 

25195 

macro avg 

0.84 

0.91 

0.87 

25195 

weighted avg  0.99 

0.99 

0.99 

25195 

 

precision  recall  f1-score  support 

abnormal 

0.96 

0.98 

0.97 

46228 

normal 

0.98 

0.97 

0.98 

54550 

 

 

 

 

 

accuracy 

 

 

0.97 

100778 

macro avg 

0.97 

0.97 

0.97 

100778 

weighted avg  0.97 

0.97 

0.97 

100778