-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected f_beta computation (#4183)
* Update f_beta.py Added METRIC_EPS in the denominator to avoid nan values in f_beta score. * Update f_beta.py Made changes flake8 compliant * Update f_beta.py Makes use of class_reduce for macro f_beta computation to avoid nans * Update f_beta.py Made flake8 compliant * Corrected F beta computation * Removed offset to make the computation precise
- Loading branch information
1 parent
a4fa7f8
commit 5d1583d
Showing
3 changed files
with
19 additions
and
7 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