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
The StandardBunch class doesn't use the seed arg if provided. One way to do this would be to use the seed to create a random instance, and then replace all the random.random() and self.np.random.randn() calls with self.random.random() and self.np_random.randn().
if seed is not None:
self.random = random.Random(seed)
self.np_random = np.random.RandomState(seed)
else:
self.random = random
self.np_random = np.random
The text was updated successfully, but these errors were encountered:
The StandardBunch class doesn't use the seed arg if provided. One way to do this would be to use the seed to create a random instance, and then replace all the random.random() and self.np.random.randn() calls with self.random.random() and self.np_random.randn().
The text was updated successfully, but these errors were encountered: