ash12321 commited on
Commit
d495f50
·
verified ·
1 Parent(s): cab54a3

Upload thresholds_calibrated_real_ai.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. thresholds_calibrated_real_ai.json +88 -0
thresholds_calibrated_real_ai.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "timestamp": "2025-12-13T17:30:45.337438",
3
+ "calibrated_thresholds": {
4
+ "max_f1": {
5
+ "threshold": 0.0338517390191555,
6
+ "name": "Balanced (Max F1)",
7
+ "use_case": "General-purpose detection",
8
+ "metrics": {
9
+ "accuracy": 1.0,
10
+ "precision": 1.0,
11
+ "recall": 1.0,
12
+ "f1": 1.0,
13
+ "fpr": 0.0,
14
+ "fnr": 0.0
15
+ }
16
+ },
17
+ "max_acc": {
18
+ "threshold": 0.0338517390191555,
19
+ "name": "Max Accuracy",
20
+ "use_case": "Equal cost for FP and FN",
21
+ "metrics": {
22
+ "accuracy": 1.0,
23
+ "precision": 1.0,
24
+ "recall": 1.0,
25
+ "f1": 1.0,
26
+ "fpr": 0.0,
27
+ "fnr": 0.0
28
+ }
29
+ },
30
+ "fpr_1pct": {
31
+ "threshold": 0.014645843766629696,
32
+ "name": "Ultra-Precise (FPR<1%)",
33
+ "use_case": "Critical systems, minimal false alarms",
34
+ "metrics": {
35
+ "accuracy": 0.9944444444444445,
36
+ "precision": 0.9836065573770492,
37
+ "recall": 1.0,
38
+ "f1": 0.9917355371900827,
39
+ "fpr": 0.008333333333333333,
40
+ "fnr": 0.0
41
+ }
42
+ },
43
+ "fpr_5pct": {
44
+ "threshold": 0.010140757076442242,
45
+ "name": "High-Precision (FPR<5%)",
46
+ "use_case": "Production deployment, low FP tolerance",
47
+ "metrics": {
48
+ "accuracy": 0.97,
49
+ "precision": 0.9174311926605505,
50
+ "recall": 1.0,
51
+ "f1": 0.9569377990430622,
52
+ "fpr": 0.045,
53
+ "fnr": 0.0
54
+ }
55
+ },
56
+ "rec_95pct": {
57
+ "threshold": 0.0338517390191555,
58
+ "name": "High-Recall (>95%)",
59
+ "use_case": "Security-critical, catch all threats",
60
+ "metrics": {
61
+ "accuracy": 1.0,
62
+ "precision": 1.0,
63
+ "recall": 1.0,
64
+ "f1": 1.0,
65
+ "fpr": 0.0,
66
+ "fnr": 0.0
67
+ }
68
+ }
69
+ },
70
+ "statistics": {
71
+ "real_mean": 0.004524982068687677,
72
+ "real_std": 0.002988117514178157,
73
+ "ai_mean": 0.16452699899673462,
74
+ "ai_std": 0.07567030191421509,
75
+ "separation_ratio": 36.359703063964844,
76
+ "num_real": 600,
77
+ "num_ai": 300
78
+ },
79
+ "data_sources": {
80
+ "real": [
81
+ "CIFAR-10 (300)",
82
+ "CIFAR-100 (300)"
83
+ ],
84
+ "ai": [
85
+ "Synthetic (300)"
86
+ ]
87
+ }
88
+ }