Spaces:
Sleeping
Sleeping
nb
commited on
Commit
·
511f261
1
Parent(s):
6ab874f
Change metric name
Browse files- waf_metric.py +2 -2
waf_metric.py
CHANGED
@@ -103,6 +103,6 @@ class WafMetric(evaluate.Metric):
|
|
103 |
true_black += 1
|
104 |
|
105 |
return {
|
106 |
-
"
|
107 |
-
"
|
108 |
}
|
|
|
103 |
true_black += 1
|
104 |
|
105 |
return {
|
106 |
+
"FalseAlarm": false_white / (white_cnt + 1e-6),
|
107 |
+
"Recall": true_black / (black_cnt + 1e-6),
|
108 |
}
|