-
Notifications
You must be signed in to change notification settings - Fork 299
Reproducibility in cocktail #204
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
Reproducibility in cocktail #204
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good :), thanks for the PR.
def __init__(self) -> None: | ||
super(autoPyTorchSetupComponent, self).__init__() | ||
def __init__(self, random_state: Optional[np.random.RandomState] = None) -> None: | ||
super(autoPyTorchSetupComponent, self).__init__(random_state=random_state) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah interesting, did we miss this when we made the changes in development ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think it affects the code at all.
Should we pass the see here? |
yes, nice find, without that one, we would be using seed 42 if I am not mistaken |
8c0fbc1
to
c9f75ea
Compare
Hey thanks for the comment. I actually didn't rebase before pushing as I had already pushed a PR for this. |
* Fix randomness in cocktail ingredients * Fix flake
* Fix randomness in cocktail ingredients * Fix flake
* Fix randomness in cocktail ingredients * Fix flake
* Fix randomness in cocktail ingredients * Fix flake
* Fix randomness in cocktail ingredients * Fix flake
* Fix randomness in cocktail ingredients * Fix flake
* Fix randomness in cocktail ingredients * Fix flake
* Fix randomness in cocktail ingredients * Fix flake
* Fix randomness in cocktail ingredients * Fix flake
* Fix randomness in cocktail ingredients * Fix flake
This PR fixes the reproducibility issues in some of the cocktail ingredients.
Components changed-