Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eukaryo authored Dec 4, 2024
1 parent 3f5df46 commit 4a8806d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/samplers/hebo_base_sampler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pip install -e .
def objective(trial):
x = trial.suggest_float("x", -1, 1)
y = trial.suggest_int("y", -1, 1)
sleep(1.0)
return x ** 2 + y
sampler = HEBOSampler(constant_liar=True)
study = optuna.create_study(sampler=sampler)
Expand Down

0 comments on commit 4a8806d

Please sign in to comment.