Print true/false positive/negative stats
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user