background image

62 

 

Table 19: decision tree on the binary training set 

 

precision  recall  f1-score  support 

abnormal 

1.00 

1.00 

1.00 

58637 

normal 

1.00 

1.00 

1.00 

67336 

 

 

 

 

 

accuracy 

 

 

1.00 

125973 

macro avg 

1.00 

1.00 

1.00 

125973 

weigthed avg  1.00 

1.00 

1.00 

125973 

 

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

 

precision  recall  f1-score  support 

abnormal 

0.66 

0.96 

0.78 

8879 

normal 

0.96 

0.68 

0.80 

13665 

 

 

 

 

 

accuracy 

 

 

0.79 

22544 

macro avg 

0.81 

0.82 

0.79 

22544 

weighted avg  0.84 

0.79 

0.79 

22544 

 

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

 

precision  recall  f1-score  support 

DoS 

1.00 

1.00 

1.00 

45932 

Probe 

1.00 

1.00 

1.00 

11657 

R2L 

1.00 

1.00 

1.00 

995 

U2R 

1.00 

0.98 

0.99 

53 

normal 

1.00 

1.00 

1.00 

67336 

   

 

 

 

accuracy 

 

 

1.00 

125973 

macro avg  

1.00 

1.00 

1.00 

125973 

weighted avg  1.00 

1.00 

1.00 

125973 

 

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

 

precision  recall  f1-score  support 

DoS 

0.80 

0.96 

0.87 

6279 

Probe 

0.64 

0.80 

0.71 

1929 

R2L 

0.08 

0.98 

0.14 

222 

U2R 

0.25 

0.55 

0.35 

31 

normal 

0.96 

0.66 

0.79 

14083 

 

 

 

 

 

accuracy 

 

 

0.76 

22544 

macro avg 

0.55 

0.79 

0.57 

22544 

weighted avg  0.88 

0.76 

0.80 

22544