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

Have the model automatically use the random seed when one is provided #106

Open
kmongird opened this issue Mar 21, 2024 · 0 comments
Open
Assignees
Labels
bug development Development to core functionality

Comments

@kmongird
Copy link
Contributor

To use a random seed, the user has to both provide a random seed and set the randomize parameter in the config file to False. this should be changed so that randomize is False automatically if a random seed is provided.

# use random seed to create reproducible outcomes
if randomize is False:
    np.random.seed(seed_value)
@kmongird kmongird added bug development Development to core functionality labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug development Development to core functionality
Projects
None yet
Development

No branches or pull requests

2 participants