We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b025009 commit a571b78Copy full SHA for a571b78
pytorch_lightning/metrics/functional/classification.py
@@ -838,8 +838,8 @@ def auc(
838
direction = -1.
839
else:
840
# TODO: Update message on removing reorder
841
- raise ValueError(f"Reorder is not turned on, and the 'x' array is"
842
- " neither increasing or decreasing: {x}")
+ raise ValueError("Reorder is not turned on, and the 'x' array is"
+ f" neither increasing or decreasing: {x}")
843
844
return direction * torch.trapz(y, x)
845
0 commit comments