Updated metrics/classification/precision_recall.py (PL^5348)

There was a typo in Documentation of Code of the ```compute()``` function of ```Recall``` metric at line 210. It said "Computes accuracy over state." which should have been "Computes recall over state."

(cherry picked from commit d568533b6ba0768ac7a6d028b3a25c5970a65e80)
(cherry picked from commit d2b7faf452890225dd4b7b62634bcbd8d0fdff96)
This commit is contained in:
Abhik Banerjee 2021-01-05 18:45:06 +05:30 коммит произвёл Jirka Borovec
Родитель 20859b966e
Коммит 261177efa2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -207,7 +207,7 @@ class Recall(Metric):
def compute(self):
"""
Computes accuracy over state.
Computes recall over state.
"""
if self.average == 'micro':
return self.true_positives.sum().float() / (self.actual_positives.sum() + METRIC_EPS)