gorkaartola commited on
Commit
1eb630b
1 Parent(s): a27cb6e

Update metric_for_tp_fp_samples.py

Browse files
Files changed (1) hide show
  1. metric_for_tp_fp_samples.py +1 -1
metric_for_tp_fp_samples.py CHANGED
@@ -223,7 +223,7 @@ class metric_tp_fp_Datasets(evaluate.Metric):
223
  if j[0] in i:
224
  TP_data.loc[TP_data["class"] == j[0], "coincidence count"] += 1
225
  TP_data = TP_data.sort_values(by=["class"], ignore_index = True)
226
- else:
227
  if FPifWrong:
228
  for k in i:
229
  FP_data.loc[FP_data["class"] == k, "coincidence count"] += 1
 
223
  if j[0] in i:
224
  TP_data.loc[TP_data["class"] == j[0], "coincidence count"] += 1
225
  TP_data = TP_data.sort_values(by=["class"], ignore_index = True)
226
+ else:
227
  if FPifWrong:
228
  for k in i:
229
  FP_data.loc[FP_data["class"] == k, "coincidence count"] += 1