Skip to content

ADD numpy random state argument to synalm#1

Open
sukhdeep2 wants to merge 4 commits intomasterfrom
sukhdeep1989-patch-1
Open

ADD numpy random state argument to synalm#1
sukhdeep2 wants to merge 4 commits intomasterfrom
sukhdeep1989-patch-1

Conversation

@sukhdeep2
Copy link
Owner

@sukhdeep2 sukhdeep2 commented Jan 28, 2019

When run in parallel, numpy random number generator can give correlated results across different threads. Added an argument to be able to explicitly pass Randomstate to synalm which should hopefully solve the problem.
see:
https://stackoverflow.com/questions/29854398/seeding-random-number-generators-in-parallel-programs

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

Successfully merging this pull request may close these issues.

2 participants

Comments