Skip to content

Commit

Permalink
Merge pull request janchorowski#7 from wpedrak/different_distribution
Browse files Browse the repository at this point in the history
change distribution to follow exercise
  • Loading branch information
janchorowski authored Nov 30, 2019
2 parents b121e70 + 994320a commit 76af31b
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 76af31b

Please sign in to comment.