Created
October 29, 2019 17:16
-
-
Save DGrady/836b95551162e48b37b14a0ef145ee3d to your computer and use it in GitHub Desktop.
Randomly generate a seed for Numpy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To reproduce a random sample, we need a fixed seed. | |
"{:_}".format(np.random.randint(np.iinfo(np.uint32).max)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment