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.
2 parents c78b5a9 + 74ab268 commit 9f26cbcCopy full SHA for 9f26cbc
doc/gettingstarted.txt
@@ -525,7 +525,7 @@ L2 regularization term weighted by :math:`\lambda_2`
525
L1 = T.sum(abs(param))
526
527
# symbolic Theano variable that represents the squared L2 term
528
- L2_sqr = T.sum(param ** 2)
+ L2 = T.sum(param ** 2)
529
530
# the loss
531
loss = NLL + lambda_1 * L1 + lambda_2 * L2
0 commit comments