diff --git a/pytorch_lightning/metrics/classification/precision_recall.py b/pytorch_lightning/metrics/classification/precision_recall.py index 7e1f843b9c331..6c2bf64a1ecfc 100644 --- a/pytorch_lightning/metrics/classification/precision_recall.py +++ b/pytorch_lightning/metrics/classification/precision_recall.py @@ -207,7 +207,7 @@ def update(self, preds: torch.Tensor, target: torch.Tensor): 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)