Created
October 12, 2017 18:58
-
-
Save fedden/e4f5ba0536d887b79fbec1f26200aa60 to your computer and use it in GitHub Desktop.
randoms
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
elif self.mode == 'random_gauss': | |
p[x] = np.random.normal(dev, mean) | |
elif self.mode == 'random_uniform': | |
p[x] = np.random.sample() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment