Skip to content

Commit 74ab268

Browse files
committed
Update gettingstarted.txt
L2_sqr variable must be L2 for the loss function or loss function L2 variable must be L2_sqr
1 parent c78b5a9 commit 74ab268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/gettingstarted.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ L2 regularization term weighted by :math:`\lambda_2`
525525
L1 = T.sum(abs(param))
526526

527527
# symbolic Theano variable that represents the squared L2 term
528-
L2_sqr = T.sum(param ** 2)
528+
L2 = T.sum(param ** 2)
529529

530530
# the loss
531531
loss = NLL + lambda_1 * L1 + lambda_2 * L2

0 commit comments

Comments
 (0)