From a46a02e9a99ad9ba8afcfc573b67ad9f9ee7eeb4 Mon Sep 17 00:00:00 2001 From: Hiroki Takizawa Date: Sun, 8 Dec 2024 18:25:35 +0900 Subject: [PATCH] Update README.md --- package/samplers/hebo/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/package/samplers/hebo/README.md b/package/samplers/hebo/README.md index e66f7a07..c60ea858 100644 --- a/package/samplers/hebo/README.md +++ b/package/samplers/hebo/README.md @@ -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)