lightning/pytorch_lightning/metrics/classification
Abhinav Gupta 5d1583d7f2
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
2020-10-21 10:52:04 +02:00
..
__init__.py notices (#4118) 2020-10-13 07:18:07 -04:00
accuracy.py notices (#4118) 2020-10-13 07:18:07 -04:00
f_beta.py Corrected f_beta computation (#4183) 2020-10-21 10:52:04 +02:00
precision_recall.py notices (#4118) 2020-10-13 07:18:07 -04:00