Skip to content

Commit

Permalink
change distribution to follow exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
wpedrak committed Nov 30, 2019
1 parent c224654 commit 994320a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assignment3/Assignment3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
"\n",
"def make_dataset(N, theta=true_poly_theta, sigma=0.1):\n",
" \"\"\" Sample a dataset \"\"\"\n",
" X = np.random.rand(N)\n",
" X = np.random.uniform(size=N)\n",
" Y_clean = compute_polynomial(X, theta)\n",
" Y = Y_clean + np.random.randn(N) * sigma\n",
" return X,Y\n",
Expand Down

0 comments on commit 994320a

Please sign in to comment.