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 8, 2024
1 parent 9803705 commit a46a02e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/samplers/hebo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ sampler = module.HEBOSampler(search_space={
"x": optuna.distributions.FloatDistribution(-10, 10),
"y": optuna.distributions.IntDistribution(-10, 10),
})
# sampler = module.HEBOSampler() # Note: `search_space` is not required, and thus it works too.
study = optuna.create_study(sampler=sampler)
study.optimize(objective, n_trials=100)

Expand Down

0 comments on commit a46a02e

Please sign in to comment.