mirror of
https://github.com/explosion/spaCy.git
synced 2025-10-25 21:21:10 +03:00
* 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 |
||
|---|---|---|
| .. | ||
| api | ||
| images | ||
| models | ||
| usage | ||
| index.md | ||
| styleguide.md | ||