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

Setting a Random seed to ensure Linnea generates the same set of variants for repeated generations #32

Open
as641651 opened this issue Dec 10, 2022 · 1 comment

Comments

@as641651
Copy link
Member

While using the script 'examples/run_linnea.py' for a random equation over and over again, is it possible to set a seed so that Linnea generates the same set of variants in the same order every time?

@hbarthels
Copy link
Collaborator

Yeah, I think so. Have you tried setting random.seed(0) (of course the value doesn't need to be 0) before generating the random equation?

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

2 participants