Skip to content

Update examples away from rng_seeder #325

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
ricardoV94 opened this issue May 23, 2022 · 0 comments
Open

Update examples away from rng_seeder #325

ricardoV94 opened this issue May 23, 2022 · 0 comments

Comments

@ricardoV94
Copy link
Member

pymc-devs/pymc#5787 will remove the rng_seeder API.

In exchange, it introduces the possibility of passing RandomState or Generator (e.g., created via np.random.default_rng(seed)) to all random sampling functions. This would probably be the easiest way to update the pymc-example notebooks. I think it is already a best practice to create a rng at the beggining no?

@ricardoV94 ricardoV94 changed the title Update pymc-examples away from rng_seeder Update examples away from rng_seeder May 23, 2022
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