From 5500a58c001392d86ded789795b494e4c9bb9074 Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Thu, 17 Nov 2022 10:48:10 +0100 Subject: [PATCH] Update spacy/cli/find_threshold.py Co-authored-by: Sofie Van Landeghem --- spacy/cli/find_threshold.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/find_threshold.py b/spacy/cli/find_threshold.py index df2e99017..bfb15f39a 100644 --- a/spacy/cli/find_threshold.py +++ b/spacy/cli/find_threshold.py @@ -207,7 +207,7 @@ def find_threshold( else: if not silent: print( - f"\nBest threshold: {round(best_threshold, ndigits=4)} with value of {scores[best_threshold]}." + f"\nBest threshold: {round(best_threshold, ndigits=4)} with {scores_key} value of {scores[best_threshold]}." ) return best_threshold, scores[best_threshold], scores