You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to be able to guarantee reproducibility of reconstruction and/or specific bug, as a user, I would like to be able to set a random seed to bsb. All reconstruction steps are concerned.
The text was updated successfully, but these errors were encountered:
This will require a technical proposal to address RNG in the framework.
I propose:
A new root dict rng which can contain RandomGeneratorNodes
Each RandomGeneratorNode should provide an init_rng method that initializes their own random generator
We can create multiple subtypes of RandomGeneratorNodes like NumpyRandomGeneratorNode and NestRandomGeneratorNode that can initialize and pin down random number generation for these libraries we use, and provide a default scaffold one that users can use with self.scaffold.random and can configure from the rng node:
This would make self.scaffold.random a numpy PCG64 generator with seed 15, and would set nest.rng_type = 'Philox_64' and nest.rng_seed = 100. We should follow numpy's Generator interface. In the case that we're only setting RNG stuff for a dependency that type of node can just raise NotImplementedErrors
In order to be able to guarantee reproducibility of reconstruction and/or specific bug, as a user, I would like to be able to set a random seed to bsb. All reconstruction steps are concerned.
The text was updated successfully, but these errors were encountered: