spaCy/website/docs
Adriane Boyd 420b1d854b
Update textcat scorer threshold behavior (#11696)
* Update textcat scorer threshold behavior

For `textcat` (with exclusive classes) the scorer should always use a
threshold of 0.0 because there should be one predicted label per doc and
the numeric score for that particular label should not matter.

* Rename to test_textcat_multilabel_threshold

* Remove all uses of threshold for multi_label=False

* Update Scorer.score_cats API docs

* Add tests for score_cats with thresholds

* Update textcat API docs

* Fix types

* Convert threshold back to float

* Fix threshold type in docstring

* Improve formatting in Scorer API docs
2022-11-02 15:35:04 +01:00
..
api Update textcat scorer threshold behavior (#11696) 2022-11-02 15:35:04 +01:00
images Docs for v3.3 (#10628) 2022-04-28 14:09:35 +02:00
models oov confusion fix (#10828) 2022-05-23 09:15:51 +02:00
usage Spelling mistake in rule-based-matching.md (#11717) 2022-10-31 13:27:12 +09: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