We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0590b9e commit 00427e0Copy full SHA for 00427e0
linear_regression_class/l1_regularization.py
@@ -20,7 +20,7 @@
20
# true weights - only the first 3 dimensions of X affect Y
21
true_w = np.array([1, 0.5, -0.5] + [0]*(D - 3))
22
23
-# generate Y - add noise with variance 0.5
+# generate Y - add noise
24
Y = X.dot(true_w) + np.random.randn(N)*0.5
25
26
# perform gradient descent to find w
0 commit comments