Skip to content

Commit

Permalink
Fixed failures due to bad code
Browse files Browse the repository at this point in the history
  • Loading branch information
ccdavis committed Nov 15, 2024
1 parent 5507b4b commit 3b84f26
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,15 @@ def _run(self) -> None:
training_data.unpersist()
test_data.unpersist()

print(f"split_results: {len(splits_results)}")
# pluck out predictions_tmp, predict_train_tmp associated with highest pr_auc
best_pr_auc = 0.0
best_predictions_tmp = None
best_predict_train_tmp = None
for a in splits_results:
if a["auc"] > best_pr_auc:
best_prediction_tmp = a["predictions_tmp"]
best_pr_auc = a["auc"]
best_predictions_tmp = a["predictions_tmp"]
best_predict_train_tmp = a["predict_train_tmp"]

i = 0
Expand Down

0 comments on commit 3b84f26

Please sign in to comment.