You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why
Want to create reference “random” test cases, i.e. a fixed seed for model parameters. However this legacy seeding needs to be set globally, the users script owns the random number generator rather than the Generative Model, I’m not sure this is the best design and I could see this causing problems
design seems slightly tricky as multivariate_normal in the lsbi code would need to take a generator as argument then?
Thoughts welcome
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently lsbi uses legacy rng capabilities in numpy
Suggestion is to give all instances of model a seed and follow recommendations:
https://numpy.org/doc/stable/reference/random/generator.html
Why
Want to create reference “random” test cases, i.e. a fixed seed for model parameters. However this legacy seeding needs to be set globally, the users script owns the random number generator rather than the Generative Model, I’m not sure this is the best design and I could see this causing problems
design seems slightly tricky as
multivariate_normal
in the lsbi code would need to take a generator as argument then?Thoughts welcome
The text was updated successfully, but these errors were encountered: