mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Fix test
This commit is contained in:
parent
ef8cf295d2
commit
964d636e27
|
@ -118,8 +118,8 @@ def test_overfitting_IO():
|
|||
|
||||
# Test scoring
|
||||
scores = nlp.evaluate(train_examples, scorer_cfg={"positive_label": "POSITIVE"})
|
||||
assert scores["cats_micro_f"] == 1.0
|
||||
assert scores["cats_score"] == 1.0
|
||||
assert scores["cats_micro_f"] == 100.0
|
||||
assert scores["cats_score"] == 100.0
|
||||
assert "cats_score_desc" in scores
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user