Skip to content

Commit

Permalink
Adjust error message to point user to DE documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronzila committed Jul 27, 2023
1 parent 30c3451 commit c51a694
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/dehb/optimizers/dehb.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,8 @@ def __init__(self, cs=None, f=None, dimensions=None, mutation_factor=None,
if self.max_budget == self.min_budget:
self.logger.error(
"If you have a fixed fidelity, " \
"you can instead run DE as follows: " \
"AsyncDE(cs=configspace, f=target_function, dimensions=" \
f"{self.dimensions}, pop_size={self.dimensions * 2}, " \
f"max_age={self.max_age}, mutation_factor=" \
f"{self.mutation_factor}, crossover_prob={self.crossover_prob}, "\
f"strategy={self.strategy}, budget={self.max_budget}, " \
f"boundary_fix_type={self.fix_type})")
"you can instead run DE. For more information checkout: " \
"https://automl.github.io/DEHB/references/de")
raise AssertionError()
self.eta = eta
self.min_clip = min_clip
Expand Down

0 comments on commit c51a694

Please sign in to comment.