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

Use Generator for random numbers #249

Open
kevinsung opened this issue Jul 19, 2024 · 0 comments
Open

Use Generator for random numbers #249

kevinsung opened this issue Jul 19, 2024 · 0 comments

Comments

@kevinsung
Copy link
Contributor

What is your issue?

Using np.random.seed is discouraged. Instead, a Generator should be created with np.random.default_rng and used.

Example:

np.random.seed(seed)

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