File size: 1,275 Bytes
e58cdae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
Threshold (mean + 2*std) từ validation normal: 0.002760
Phát hiện 131 samples bất thường trong tập test (trên tổng 429)
Chỉ số sample bất thường (relative to test set): [  4   7  10  11  14  15  21  23  24  27  32  33  36  38  42  47  49  53
  56  58  59  61  64  67  71  72  74  78  79  87  90  92  93  98 102 104
 107 111 114 115 116 120 121 124 125 128 130 132 138 141 149 150 152 154
 155 156 157 162 170 174 177 178 189 191 195 200 204 207 208 209 210 213
 214 215 216 217 221 225 232 234 235 236 238 239 246 248 250 261 267 271
 274 279 280 293 297 299 302 312 315 318 320 323 326 327 332 340 341 346
 351 352 359 360 366 368 374 378 380 386 387 388 392 393 394 405 406 409
 410 416 418 424 427]

=== Confusion Matrix ===
[[279   1]
 [ 19 130]]
TN: 279,  FP: 1
FN: 19,  TP: 130

=== Metrics for Anomaly Detection ===
Accuracy : 0.9534
Precision: 0.9924
Recall   : 0.8725
F1-score : 0.9286

=== Classification Report ===
              precision    recall  f1-score   support

  Normal (0)       0.94      1.00      0.97       280
 Anomaly (1)       0.99      0.87      0.93       149

    accuracy                           0.95       429
   macro avg       0.96      0.93      0.95       429
weighted avg       0.96      0.95      0.95       429