background image

79 

 

Table 54: knn on the split multiclass test set (validation) 

 

precision  recall  f1-score  support 

back 

0.94 

0.98 

0.96 

189 

buffer_overflow  0.00 

0.00 

0.00 

ftp_write 

0.00 

0.00 

0.00 

guess_passwd 

0.85 

0.55 

0.67 

20 

imap 

0.00 

0.00 

0.00 

ipsweep 

0.93 

0.99 

0.96 

665 

land 

0.00 

0.00 

0.00 

multihop 

0.00 

0.00 

0.00 

neptune 

1.00 

0.98 

0.99 

8411 

nmap 

0.97 

0.94 

0.96 

302 

normal 

1.00 

0.99 

0.99 

13531 

perl 

0.00 

0.00 

0.00 

pod 

0.98 

1.00 

0.99 

40 

portsweep 

0.84 

1.00 

0.91 

524 

rootkit 

0.00 

0.00 

0.00 

satan 

0.91 

0.98 

0.94 

672 

smurf 

1.00 

0.97 

0.98 

522 

spy 

0.00 

0.00 

0.00 

teardrop 

0.99 

1.00 

0.99 

159 

warezclient 

0.83 

0.96 

0.89 

160 

warezmaster 

0.00 

0.00 

0.00 

 

 

 

 

 

accuracy 

 

 

0.99 

25195 

macro avg 

0.53 

0.54 

0.53 

25195 

weighted avg 

0.99 

0.99 

0.99 

25195