-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress UndefinedMetric Warning for F1/precision/recall (#671)
* Changed edge case results to 0.0 and added tests. Updated precision and F1 tests. Updated changelog. * Remove old todo * Ignore zero-div warnings for f1/precision/recall and return 0.0 * Rename tests * Update tests, add precision_micro test * Added tests for f1, precision and recall * Changelog * Lint Co-authored-by: christopherbunn <chris.l.bunn@gmail.com>
- Loading branch information
1 parent
9848eff
commit 1273b44
Showing
3 changed files
with
232 additions
and
39 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