Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Oct 17, 2020
1 parent 18fef4e commit 5f8573b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion train_hiv.py
Expand Up @@ -92,7 +92,7 @@ def test(loader):
rocauc_list.append(
roc_auc_score(y_true[is_labeled, i], y_pred[is_labeled, i]))

return {"rocauc": sum(rocauc_list) / len(rocauc_list)}
return sum(rocauc_list) / len(rocauc_list)


test_perfs = []
Expand Down
2 changes: 1 addition & 1 deletion train_tox21.py
Expand Up @@ -92,7 +92,7 @@ def test(loader):
rocauc_list.append(
roc_auc_score(y_true[is_labeled, i], y_pred[is_labeled, i]))

return {"rocauc": sum(rocauc_list) / len(rocauc_list)}
return sum(rocauc_list) / len(rocauc_list)


test_perfs = []
Expand Down

0 comments on commit 5f8573b

Please sign in to comment.