Skip to content

Commit

Permalink
multi-network
Browse files Browse the repository at this point in the history
  • Loading branch information
camillebrianceau committed Oct 1, 2024
1 parent 06b8f8a commit 6533084
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clinicadl/trainer/tasks_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ def check_prediction(row):
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 6533084

Please sign in to comment.