pymc-examples icon indicating copy to clipboard operation
pymc-examples copied to clipboard

Update examples away from rng_seeder

Open ricardoV94 opened this issue 2 years ago • 0 comments

https://github.com/pymc-devs/pymc/pull/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 avatar May 23 '22 14:05 ricardoV94