spaCy/website/docs
Florian Cäsar 86e71e7b19
Fix Scorer.score_cats for missing labels (#9443)
* Fix Scorer.score_cats for missing labels

* Add test case for Scorer.score_cats missing labels

* semantic nitpick

* black formatting

* adjust test to give different results depending on multi_label setting

* fix loss function according to whether or not missing values are supported

* add note to docs

* small fixes

* make mypy happy

* Update spacy/pipeline/textcat.py

Co-authored-by: Florian Cäsar <florian.caesar@pm.me>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: svlandeg <svlandeg@github.com>
2021-12-29 11:04:39 +01:00
..
api Fix Scorer.score_cats for missing labels (#9443) 2021-12-29 11:04:39 +01:00
images Update Prodigy project template for v1.11 [ci skip] 2021-08-12 13:46:20 +10:00
models Various docs updates for v3.1 (#8406) 2021-06-21 09:33:50 +02:00
usage Update Catalan acknowledgements for v3.2 (#9763) 2021-11-29 14:14:21 +01:00
index.md 💫 Update website (#3285) 2019-02-17 19:31:19 +01:00
styleguide.md Update styleguide [ci skip] 2020-09-14 11:25:57 +02:00