Skip to content

Instantly share code, notes, and snippets.

@asit-pal
Last active August 15, 2022 22:40
Show Gist options
  • Save asit-pal/46f64ba84571f702d137edce378d864e to your computer and use it in GitHub Desktop.
Save asit-pal/46f64ba84571f702d137edce378d864e to your computer and use it in GitHub Desktop.
test
mean = np.array([0,0])
rho=0.8
cov = np.array([[1,rho],[rho,1]])
distr = multivariate_normal(mean=mean,cov=cov,size=5000)
X,Y = distr[:,0],distr[:,1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment