Option for user-provided random.Random
instance for parallel reproducibility
#75
Labels
Milestone
random.Random
instance for parallel reproducibility
#75
I have a use-case that may apply to others and warrant a new feature. Often, one wants to be able to reproduce the results of an evolution by supplying the same random seed. With the current implementation, this precludes running multiple instances of DEAP in parallel, since the randomness is supplied by the single instance of
random.Random
obtained fromimport random
.It would be great if there were an option to supply a user-created
random.Random
instance so multiple evolutions could be run in parallel without their RNGs sharing state, allowing for reproducibility.The text was updated successfully, but these errors were encountered: