mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 20:30:24 +03:00
formatting
This commit is contained in:
parent
fbd29cb277
commit
a9f0ec819f
|
@ -898,7 +898,11 @@ def test_textcat_multi_threshold():
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"component_name,scorer", [("textcat", "spacy.textcat_scorer.v1"), ("textcat_multilabel", "spacy.textcat_multilabel_scorer.v1")]
|
"component_name,scorer",
|
||||||
|
[
|
||||||
|
("textcat", "spacy.textcat_scorer.v1"),
|
||||||
|
("textcat_multilabel", "spacy.textcat_multilabel_scorer.v1"),
|
||||||
|
],
|
||||||
)
|
)
|
||||||
def test_textcat_legacy_scorers(component_name, scorer):
|
def test_textcat_legacy_scorers(component_name, scorer):
|
||||||
"""Check that legacy scorers are registered and produce the expected score
|
"""Check that legacy scorers are registered and produce the expected score
|
||||||
|
|
Loading…
Reference in New Issue
Block a user