Any idea about why, on the `neuralnet`

package, the `sse`

function for parameter: `err.fct`

divides by 2 the `Sum of Squared Errors`

?

From the document:

we have the following text:

we can ignore the `Sum`

of `H`

(outputs) and assume we only have just one output (H = 1). L corresponds to the observations.

In multiple bibliographies on internet they don't divide by 2.

Just in case, here is the `neuralnet`

package reference:

https://www.rdocumentation.org/packages/neuralnet/versions/1.44.2/topics/neuralnet

Thanks!