Update bias_auc.py
Browse files- bias_auc.py +1 -1
bias_auc.py
CHANGED
@@ -150,7 +150,7 @@ class BiasAUC(evaluate.Metric):
|
|
150 |
# result['Overall generalized mean']["Overall AUC"] = roc_auc_score(labels, y_preds)
|
151 |
# except ValueError:
|
152 |
# result['Overall generalized mean']["Overall AUC"] = np.nan
|
153 |
-
|
154 |
|
155 |
def _compute(self, target, label, output, subgroups=None):
|
156 |
if subgroups is None:
|
|
|
150 |
# result['Overall generalized mean']["Overall AUC"] = roc_auc_score(labels, y_preds)
|
151 |
# except ValueError:
|
152 |
# result['Overall generalized mean']["Overall AUC"] = np.nan
|
153 |
+
return result
|
154 |
|
155 |
def _compute(self, target, label, output, subgroups=None):
|
156 |
if subgroups is None:
|