mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-11 07:34:54 +03:00
Rename to test_textcat_multilabel_threshold
This commit is contained in:
parent
ebbbc3a611
commit
d9a6734526
|
@ -823,7 +823,7 @@ def test_textcat_loss(multi_label: bool, expected_loss: float):
|
||||||
assert loss == expected_loss
|
assert loss == expected_loss
|
||||||
|
|
||||||
|
|
||||||
def test_textcat_threshold():
|
def test_textcat_multilabel_threshold():
|
||||||
# Ensure the scorer can be called with a different threshold
|
# Ensure the scorer can be called with a different threshold
|
||||||
nlp = English()
|
nlp = English()
|
||||||
nlp.add_pipe("textcat_multilabel")
|
nlp.add_pipe("textcat_multilabel")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user