From ef43152af4884a0493b8ab0a14c48f9b3faf44f5 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 25 Aug 2020 02:42:47 +0200 Subject: [PATCH] Update scorer --- spacy/scorer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spacy/scorer.py b/spacy/scorer.py index c04a332e4..28975ad43 100644 --- a/spacy/scorer.py +++ b/spacy/scorer.py @@ -145,10 +145,10 @@ class Scorer: acc_score.tp += 1 prf_score.score_set(pred_spans, gold_spans) return { - "token_acc": acc_score.fscore * 100, - "token_p": prf_score.precision * 100, - "token_r": prf_score.recall * 100, - "token_f": prf_score.fscore * 100, + "token_acc": acc_score.fscore, + "token_p": prf_score.precision, + "token_r": prf_score.recall, + "token_f": prf_score.fscore, } @staticmethod