From 685e4fa8eb629b1c33b8dfc0d264cb402647d48c Mon Sep 17 00:00:00 2001 From: nabenabe0928 Date: Tue, 17 Dec 2024 05:23:16 +0100 Subject: [PATCH] Add explanations of seed to HEBO --- package/samplers/hebo/README.md | 2 +- package/samplers/hebo/sampler.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package/samplers/hebo/README.md b/package/samplers/hebo/README.md index 11f1d1a2..2f512df5 100644 --- a/package/samplers/hebo/README.md +++ b/package/samplers/hebo/README.md @@ -37,7 +37,7 @@ pip install --upgrade pymoo HEBOSampler(search_space=search_space) ``` - - `seed`: Seed for random number generator. + - `seed`: A seed for the initialization of `HEBOSampler`. Please note that the Bayesian optimization part is not deterministic even if seed is fixed due to the backend implementation. - `constant_liar`: If `True`, penalize running trials to avoid suggesting parameter configurations nearby. Default is `False`. diff --git a/package/samplers/hebo/sampler.py b/package/samplers/hebo/sampler.py index e4f9a481..4794b9c5 100644 --- a/package/samplers/hebo/sampler.py +++ b/package/samplers/hebo/sampler.py @@ -37,7 +37,9 @@ class HEBOSampler(optunahub.samplers.SimpleBaseSampler): By specifying search_space, the sampling speed at each iteration becomes slightly quicker, but this argument is not necessary to run this sampler. Default is :obj:`None`. seed: - A seed for ``HEBOSampler``. Default is :obj:`None`. + A seed for the initialization of ``HEBOSampler``. Default is :obj:`None`. + Please note that the Bayesian optimization part is not deterministic even if seed is + fixed due to the backend implementation. constant_liar: If :obj:`True`, penalize running trials to avoid suggesting parameter configurations