Print true/false positive/negative stats

This commit is contained in:
Yohann D'ANELLO 2021-10-29 17:00:07 +02:00
parent d767e2029b
commit 9f161adb2f
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 0 additions and 3 deletions

View File

@ -276,9 +276,6 @@ def parse(stream, similarity: float, *, stats: bool = False, display_tqdm: bool
elif d < similarity and (doc_a, doc_b) not in candidate_pairs:
tn += 1
fp_rate = fp / (fp + tn)
tp_rate = tp / (tp + fn)
return tp, fp, tn, fn