Spaces:
Runtime error
Runtime error
Commit
•
609797f
1
Parent(s):
fa334e3
Update metric_for_tp_fp_samples.py
Browse files
metric_for_tp_fp_samples.py
CHANGED
@@ -226,8 +226,7 @@ class metric_tp_fp_Datasets(evaluate.Metric):
|
|
226 |
TP_data = TP_data.sort_values(by=["class"], ignore_index = True)
|
227 |
else:
|
228 |
if FPifWrong:
|
229 |
-
for k in i:
|
230 |
-
print(k)
|
231 |
FP_data.loc[FP_data["class"] == k, "coincidence count"] += 1
|
232 |
FP_data = FP_data.sort_values(by=["class"], ignore_index = True)
|
233 |
if j[1] == 2:
|
|
|
226 |
TP_data = TP_data.sort_values(by=["class"], ignore_index = True)
|
227 |
else:
|
228 |
if FPifWrong:
|
229 |
+
for k in i:
|
|
|
230 |
FP_data.loc[FP_data["class"] == k, "coincidence count"] += 1
|
231 |
FP_data = FP_data.sort_values(by=["class"], ignore_index = True)
|
232 |
if j[1] == 2:
|