-
- Downloads
[bug] get rid of all default seeds in different configuration sources
There are currently 3 "seed" options: 1) A "seed" for simulations 2) A "seed" for preprocessing (this mostly controls randomization of dataset splits) 3) A "seed" for training All of these had default values in the default config files. I think partly as an artifact of when I ported over some of Jean and Theophile's old config files into the code. In practice, users should expect stochasticity by default. The schemas have a default value of "null" for all these seeds, which is equivalent to random seeding of the PNRG. If users want to set a specific seed for reproducibility they should do so manually. (Possible future enhancement: Record the seed that was used so they can reproduce the same run even if the seed was not set explicitly first.)
Showing
- README.md 5 additions, 2 deletionsREADME.md
- dnadna/defaults/preprocessing.yml 0 additions, 1 deletiondnadna/defaults/preprocessing.yml
- dnadna/defaults/training.yml 0 additions, 1 deletiondnadna/defaults/training.yml
- dnadna/examples/one_event.py 1 addition, 4 deletionsdnadna/examples/one_event.py
- dnadna/utils/testing.py 13 additions, 8 deletionsdnadna/utils/testing.py
- tests/test_simulation.py 3 additions, 0 deletionstests/test_simulation.py
- tests/test_training.py 5 additions, 0 deletionstests/test_training.py
Loading
Please register or sign in to comment