Skip to content

Commit

Permalink
fix(Evaluation): fixed unequal length of training epochs by multi mod…
Browse files Browse the repository at this point in the history
…el pipelines
  • Loading branch information
muellerdo committed Jun 30, 2022
1 parent a3f0f3f commit 6729798
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions aucmedi/evaluation/fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ def evaluate_fitting(train_history, out_path, monitor=["loss"],
train_history[key]
del train_history[key]
del train_history[sec_key]

# Convert to pandas dataframe
dt = pd.DataFrame.from_dict(train_history, orient="columns")

# Convert to pandas dataframe
hist_prepared = dict([ (k,pd.Series(v)) for k,v in train_history.items() ])
dt = pd.DataFrame.from_dict(hist_prepared, orient="columns")

# Identify all selected columns
selected_cols = []
for key in train_history:
Expand Down

0 comments on commit 6729798

Please sign in to comment.