Neural Network Toolbox Previous page   Next Page
dmsereg

Mean squared error with regularization or performance derivative function

Syntax

dPerf_dE = dmsereg('e',E,X,perf,PP)

dPerf_dX = dmsereg('x',E,X,perf,PP)

Description

dmsereg is the derivative function for msereg.

dmsereg('d',E,X,perf,PP) takes these arguments,

where PP defines one performance parameters,

and returns the derivative dPerf/dE.

dmsereg('x',E,X,perf) returns the derivative dPerf/dX.

mse has only one performance parameter.

Examples

Here we define an error E and X for a network with one 3-element output and six weight and bias values.

Here the ratio performance parameter is defined so that squared errors are 5 times as important as squared weight and bias values.

Here we calculate the network's performance, and derivatives of performance.

See Also

msereg


Previous page  dmse dnetprod Next page

© 1994-2005 The MathWorks, Inc.