Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Allow Seeding the ConfigSpace and Optimization Algorithm (Improvement) #19

Open
LabChameleon opened this issue Nov 26, 2023 · 0 comments

Comments

@LabChameleon
Copy link

LabChameleon commented Nov 26, 2023

Hi!

for reproducibility, it would be good to allow seeding of the config space used for the DEHB or PBT sweeper. I believe this was originally supposed to be supported since the function

search_space: Union[str, DictConfig, ConfigurationSpace], seed: Optional[int] = None
allows seeding. However, in e.g.
configspace = search_space_to_config_space(search_space=self.search_space)
a seed is never passed.

Additionally, I added seeding the numpy random generator. For DEHB this is necessary to seed the differential evolution backend.

See PR #21

@LabChameleon LabChameleon changed the title Allowing Seeding the ConfigSpace (Improvement) Allow Seeding the ConfigSpace (Improvement) Nov 26, 2023
@LabChameleon LabChameleon changed the title Allow Seeding the ConfigSpace (Improvement) Allow Seeding the ConfigSpace and Optimization Algorithm (Improvement) Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant