Skip to content

Commit 6e66452

Browse files
FERRIAamueller
authored andcommitted
Added 1/2 factor to SSE alpha term (#7962)
1 parent 67a85b8 commit 6e66452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/neural_networks_supervised.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ For regression, MLP uses the Square Error loss function; written as,
290290

291291
.. math::
292292
293-
Loss(\hat{y},y,W) = \frac{1}{2}||\hat{y} - y ||_2^2 + \alpha ||W||_2^2
293+
Loss(\hat{y},y,W) = \frac{1}{2}||\hat{y} - y ||_2^2 + \frac{\alpha}{2} ||W||_2^2
294294
295295
296296
Starting from initial random weights, multi-layer perceptron (MLP) minimizes

0 commit comments

Comments
 (0)