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 f13b880 + 9f26cbc commit 88dfe8fCopy full SHA for 88dfe8f
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