Legacy Random Generation¶
Removed
Danger
RandomState
has been removed. You should be using numpy.random.Generator
,
or if you must have backward compatibility with NumPy before 1.17, numpy.random.RandomState
.
-
class randomgen.mtrand.RandomState(bit_generator=
None
)¶ RandomState has been removed in the 1.23 release.
Use
numpy.random.Generator
ornumpy.random.RandomState
if backward compataibility to older versions of NumPy is required.