This commit is contained in:
Matthew Honnibal 2020-08-24 23:03:16 +02:00
parent ef8cf295d2
commit 964d636e27
1 changed files with 2 additions and 2 deletions

View File

@ -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