RatInABox-Lab / RatInABox

A python package for modelling locomotion in complex environments and spatially/velocity selective cell activity.
MIT License
175 stars 31 forks source link

Is Random Reproducibility Possible? (Random Seed) #17

Closed marcoabrate closed 1 year ago

marcoabrate commented 1 year ago

Hi @TomGeorge1234 Is it possible to give a random seed to the Agent and to the Place Cells (or others) in order to have reproducibility of the results when using the same parameters?

Thanks

TomGeorge1234 commented 1 year ago

It's a nice idea. Happy to support it. But, to be clear, is it not a working solution to just set the random seed before initialisation and if not, why not? e.g.:

Screenshot 2023-01-11 at 16 02 53

marcoabrate commented 1 year ago

You are perfectly right, thank you!

TomGeorge1234 commented 1 year ago

great!