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

Handle determinism in the pipeline #137

Closed
ravinkohli opened this issue Mar 13, 2021 · 2 comments
Closed

Handle determinism in the pipeline #137

ravinkohli opened this issue Mar 13, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ravinkohli
Copy link
Contributor

This issue is being moved from the old repository. Look here for more details.
Description:
we need to add support for setting seeds for various random number generations. Could be handled once in the api for the whole project or individually for pipeline components.

@LMZimmer suggested:
For this let's:

1. create a set_random_state in the BasePipeline
2. call it in the init after [this](https://github.com/automl/Auto-PyTorch/blob/5c6ce0bbf030fb4ec81396e1cb67edb3e194d383/autoPyTorch/pipeline/base_pipeline.py#L104)

add support for this in the smbo part and pass the state to the pipeline

@renesass
Copy link

Moreover, as far as I can see, random state is not used for the train data loader (in base_data_loader), which uses shuffling. Correct me if I'm wrong.

@ravinkohli
Copy link
Contributor Author

Moreover, as far as I can see, random state is not used for the train data loader (in base_data_loader), which uses shuffling. Correct me if I'm wrong.

Yes that is true. Thanks for pointing this out

@ravinkohli ravinkohli added the bug Something isn't working label Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants