Skip to content

Adding option for seed in random search #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fjwillemsen opened this issue Mar 28, 2025 · 1 comment
Open

Adding option for seed in random search #291

fjwillemsen opened this issue Mar 28, 2025 · 1 comment

Comments

@fjwillemsen
Copy link
Collaborator

It would be convenient to have the option to pass a fixed seed to the random search strategy.

@stijnh
Copy link
Member

stijnh commented May 19, 2025

Alternatively, we could also provide each strategy with a random.Random object (or numpy's np.random.Generator) on initialization, such that we can assure that each strategy does not depend on the global rng.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants