-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Precision, Recall, F-measure, Confusion Matrix to Taggers (#2862)
* Add Precision, Recall, F-measure, Confusion Matrix and per-tag evaluation to Taggers And add precision, recall and f-measure to ConfusionMatrix. Includes large doctests, and some small doctest fixes throughout the tag module * Move evaluation of ConfusionMatrix into nltk\metrics\confusionmatrix.py * Add self as author in significantly updated files * Deprecate tagger evaluate(gold) in favor of accuracy(gold) * Missed one case of Tagger evaluate still being used - fixed now * Deprecate ChunkParser's evaluate(gold) in favor of accuracy(gold) Co-authored-by: Steven Bird <stevenbird1@gmail.com>
- Loading branch information
1 parent
72d9885
commit a28d256
Showing
12 changed files
with
833 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.