-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathknn.txt
More file actions
91 lines (56 loc) · 1.79 KB
/
knn.txt
File metadata and controls
91 lines (56 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
k = 1, train-> samting , test -> asagidakiler
Scenario 1
Anomaly Detection:
Classification report:
precision recall f1-score support
Botnet 0.73 0.72 0.73 279
Background 1.00 1.00 1.00 111698
avg / total 1.00 1.00 1.00 111977
Confusion Matrix:
[[ 202 77]
[ 74 111624]]
***********************************
Scenario 2
Anomaly Detection:
Classification report:
precision recall f1-score support
Botnet 0.81 0.91 0.85 201
Background 1.00 1.00 1.00 71535
avg / total 1.00 1.00 1.00 71736
Confusion Matrix:
[[ 182 19]
[ 43 71492]]
***********************************
Scenario 6
Anomaly Detection:
Classification report:
precision recall f1-score support
Botnet 0.85 0.91 0.88 120
Background 1.00 1.00 1.00 12119
avg / total 1.00 1.00 1.00 12239
Confusion Matrix:
[[ 109 11]
[ 19 12100]]
***********************************
Scenario 8
Anomaly Detection:
Classification report:
precision recall f1-score support
Botnet 0.69 0.14 0.23 1085
Background 0.99 1.00 0.99 85983
avg / total 0.99 0.99 0.98 87068
Confusion Matrix:
[[ 149 936]
[ 66 85917]]
***********************************
Scenario 9
Anomaly Detection:
Classification report:
precision recall f1-score support
Botnet 0.95 0.70 0.80 1382
Background 0.99 1.00 1.00 61166
avg / total 0.99 0.99 0.99 62548
Confusion Matrix:
[[ 966 416]
[ 54 61112]]
***********************************