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 seed value #643

Closed
eaugustine26 opened this issue Mar 18, 2018 · 4 comments
Closed

Setting seed value #643

eaugustine26 opened this issue Mar 18, 2018 · 4 comments

Comments

@eaugustine26
Copy link

Is there a way to set the seed so that you are fed the same training pairs every time you run the program - for purposes of reproducibility?

I've tried setting numpy.random.seed & random.seed before the RecordLink object is created, but that doesn't work.

@fgregg
Copy link
Contributor

fgregg commented Mar 26, 2018

have you tried setting both numpy.random.seed and random.seed?

@eaugustine26
Copy link
Author

eaugustine26 commented Mar 26, 2018 via email

@fgregg
Copy link
Contributor

fgregg commented Mar 26, 2018

That's a little suprising.

What if you disable hash randomization https://stackoverflow.com/questions/30585108/disable-hash-randomization-from-within-python-program/30586046#30586046

I believe this issue might be a dupe of #541

@fgregg
Copy link
Contributor

fgregg commented Apr 30, 2018

I'm pretty sure that disable hash randomization would have fixed this. Closing.

@fgregg fgregg closed this as completed Apr 30, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants