Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
teddykoker committed Oct 8, 2020
1 parent b649a40 commit f837811
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pytorch_lightning/metrics/regression/explained_variance.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,3 @@ def compute(self):

# TODO: multioutput
return 1.0 - torch.mean(numerator / denominator)


# target = torch.tensor([[0.5, 1], [-1, 1], [7, -6]])
# preds = torch.tensor([[0, 2], [-1, 2], [8, -5]])
# explained_variance = ExplainedVariance()
# print(explained_variance(preds, target))

0 comments on commit f837811

Please sign in to comment.