Created
April 27, 2021 01:54
-
-
Save 123epsilon/cd934681acf1306e8f746b1409b7ec86 to your computer and use it in GitHub Desktop.
SimpleGANFunctions
This file contains 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
def parabolic_dist(x): | |
return x*x | |
def inverse_parabolic_dist(x): | |
return -(x*x) | |
def gauss_2d(mu=0, sigma=1): | |
x = random.gauss(mu, sigma) | |
y = random.gauss(mu, sigma) | |
return (x, y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment