Skip to content

Instantly share code, notes, and snippets.

@fedden
Created October 12, 2017 18:58
Show Gist options
  • Save fedden/e4f5ba0536d887b79fbec1f26200aa60 to your computer and use it in GitHub Desktop.
Save fedden/e4f5ba0536d887b79fbec1f26200aa60 to your computer and use it in GitHub Desktop.
randoms
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