We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b6035 commit 22c2d0dCopy full SHA for 22c2d0d
python/03_polynomial_regression.py
@@ -38,7 +38,7 @@
38
# e.g. ridge regression has a parameter controlling the amount of shrinkage
39
# over the norm of activations. the larger the shrinkage, the more robust
40
# to collinearity.
41
-# cost = tf.add(cost, tf.mul(1e-6, tf.global_norm([W])))
+# cost = tf.add(cost, tf.multiply(1e-6, tf.global_norm([W])))
42
43
# %% Use gradient descent to optimize W,b
44
# Performs a single step in the negative gradient
0 commit comments