Skip to content

Commit

Permalink
fix print format for iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
tkchafin committed Jun 6, 2024
1 parent aac196d commit e5fdfd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resistnet/model_optimisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,9 +1337,9 @@ def run_tpe(self, max_evals=100, threads=4, fitmetric="loglik",
global_fails += 1

if verbose:
now = iteration+1/max_evals
print(
f"Iteration {now}, Current Best: {best_loss}")
f"Iteration {iteration+1}, Current Best: {best_loss}"
)

if verbose:
for i, trials in enumerate(trials_list):
Expand Down

0 comments on commit e5fdfd5

Please sign in to comment.