68
Table 31: Gaussian Naive Bayes on binary training set
precision recall f1-score support
abnormal
0.66
1.00
0.79
38781
normal
1.00
0.77
0.87
87192
accuracy
0.84
125973
macro avg
0.83
0.88
0.83
125973
weighted avg 0.89
0.84
0.85
125973
Table 32: Gaussian Naive Bayes on binary test set (validation)
precision recall f1-score support
abnormal
0.22
0.98
0.36
2909
normal
0.99
0.49
0.66
19635
accuracy
0.55
22544
macro avg
0.61
0.74
0.51
22544
weigthed avg 0.89
0.55
0.62
22544
Table 33: Gaussian Naive Bayes on 4-class training set
precision recall f1-score support
DoS
0.89
0.99
0.93
41369
Probe
0.13
0.96
0.23
1594
R2L
0.51
0.02
0.04
25292
U2R
1.00
0.01
0.02
5712
normal
0.58
0.75
0.65
52006
accuracy
0.65
125973
macro avg
0.62
0.54
0.38
125973
weighted avg 0.68
0.65
0.59
125973
Table 34: Gaussian Naive Bayes on 4-class test set (validation)
precision recall f1-score support
DoS
0.39
0.88
0.54
3346
Probe
0.08
0.91
0.15
215
R2L
0.32
0.14
0.20
6499
U2R
0.67
0.04
0.08
1074
normal
0.55
0.47
0.50
11410
accuracy
0.42
22544
macro avg
0.40
0.49
0.30
22544
weighted avg 0.46
0.42
0.40
22544