tybrs commited on
Commit
5254f6a
1 Parent(s): 1367a96

Update bias_auc.py

Browse files
Files changed (1) hide show
  1. 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
- # return result
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: