[Numpy-discussion] Re: Original seed of a BitGenerator

2024-08-02 Thread Andrew Nelson
> > >> >> - the seed/SeedSequence that was used to construct the BitGenerator >> > > >>> rng = np.random.default_rng() > >>> rng.bit_generator.seed_seq > SeedSequence( > entropy=186013007116029215180532390504704448637, > ) > > In some older versions of numpy, the attribute was semi-private as >

[Numpy-discussion] Re: Original seed of a BitGenerator

2024-08-02 Thread Neal Becker
On Fri, Aug 2, 2024 at 9:37 AM Robert Kern wrote: > On Fri, Aug 2, 2024 at 1:28 AM Andrew Nelson wrote: > >> When using the new `Generator`s for stochastic optimisation I sometimes >> find myself possessing a great solution, but am wondering what path the >> random number generation took to get

[Numpy-discussion] Re: Original seed of a BitGenerator

2024-08-02 Thread Robert Kern
On Fri, Aug 2, 2024 at 1:28 AM Andrew Nelson wrote: > When using the new `Generator`s for stochastic optimisation I sometimes > find myself possessing a great solution, but am wondering what path the > random number generation took to get to that point. > > I know that I can get the current state