Skip to content
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

Switch to Random Generator object #20

Open
sjvrijn opened this issue Aug 2, 2022 · 0 comments
Open

Switch to Random Generator object #20

sjvrijn opened this issue Aug 2, 2022 · 0 comments

Comments

@sjvrijn
Copy link
Owner

sjvrijn commented Aug 2, 2022

Currently, random values are drawn from the global np.random subpackage. The modern way to use these is to create a RandomGenerator object

Once this is done everywhere, it should be easy to store the random generator state (and any other intermediate values) so the optimizer could continue where it left off if there is a wish to run a previous experiment for longer.

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

No branches or pull requests

1 participant