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

Better full reproductibility #179

Closed
3 of 4 tasks
Naereen opened this issue Jan 16, 2019 · 1 comment
Closed
3 of 4 tasks

Better full reproductibility #179

Naereen opened this issue Jan 16, 2019 · 1 comment
Assignees
Labels
enhancement I have to improve something which already works not too badly multi-player For multi-player bandits simulations single-player For single-player bandits simulations

Comments

@Naereen
Copy link
Member

Naereen commented Jan 16, 2019

  • For any simulations, when saving figures, I already saved the full experiments data to a HDF5 file.

It should be easy and very clean to also save:

  • the full configuration.py file used to define the simulations (cp configuration_XXX.py plots/output_blabla/configuration_XXX__XhashvalueX.py)
  • just the configuration dictionnary, along with the necessary imports, that can be used to relaunch the same simulations with python main_XXX.py configuration_XXX__XhashvalueX__justdict.py)

It works easily for simple configuration files, but for multi-players, when I use Class(...).children, it's no longer easily pickable.

  • Try to do this also!
@Naereen Naereen added enhancement I have to improve something which already works not too badly multi-player For multi-player bandits simulations single-player For single-player bandits simulations labels Jan 16, 2019
@Naereen Naereen self-assigned this Jan 16, 2019
Naereen added a commit that referenced this issue Jan 16, 2019
@Naereen
Copy link
Member Author

Naereen commented Jul 12, 2019

I'm sufficiently convinced that I did enough regarding this task, closing.

@Naereen Naereen closed this as completed Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement I have to improve something which already works not too badly multi-player For multi-player bandits simulations single-player For single-player bandits simulations
Development

No branches or pull requests

1 participant