Skip to content

Commit

Permalink
Merge branch 'cb_init_maps' into cb_validator
Browse files Browse the repository at this point in the history
  • Loading branch information
camillebrianceau committed Oct 1, 2024
2 parents 3059668 + a401701 commit 9a52b88
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions clinicadl/trainer/tasks_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,6 @@ def check_prediction(row):
["participant_id", "session_id"]
):
label = subject_df["true_label"].unique().item()
print(subject_df)
for i in range(n_classes):
print(subject_df[f"proba{i}"])
print(weight_series)
proba_list = [
np.average(subject_df[f"proba{i}"], weights=weight_series)
for i in range(n_classes)
Expand Down

0 comments on commit 9a52b88

Please sign in to comment.