mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
Update spacy/cli/find_threshold.py
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
ba857c6958
commit
5500a58c00
|
@ -207,7 +207,7 @@ def find_threshold(
|
||||||
else:
|
else:
|
||||||
if not silent:
|
if not silent:
|
||||||
print(
|
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
|
return best_threshold, scores[best_threshold], scores
|
||||||
|
|
Loading…
Reference in New Issue
Block a user