Created
February 16, 2016 03:03
-
-
Save tachim/4763a6102cf0d7696d42 to your computer and use it in GitHub Desktop.
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
M = 1500 | |
N = 5000 | |
RHO = 1 | |
LAMBDA = 20 | |
w = np.zeros((N,)) | |
for i in xrange(N): | |
if np.random.random() < 0.1: | |
w[i] = np.random.random() * 10 | |
A = np.random.standard_normal((M, N)) | |
b = A.dot(w) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment