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 8375502 commit a0ccaa4Copy full SHA for a0ccaa4
metrics/roc_metrics.py
@@ -3,7 +3,7 @@
3
"""
4
import warnings
5
warnings.simplefilter(action='ignore', category=FutureWarning)
6
-from sklearn.metrics import roc_curve, auc
+from sklearn.metrics import roc_curve, auc, roc_auc_score
7
import numpy as np
8
import torch.nn.functional as F
9
import torch
@@ -118,4 +118,4 @@ def compute(self):
118
"""Computes PE based on inputs passed in to ``update`` previously."""
119
x = dim_zero_cat(self.x)
120
y = dim_zero_cat(self.y)
121
- return pe(y, x)
+ return pe(y, x)
0 commit comments