Neural Network Toolbox |
Sum squared error performance derivative function
Syntax
dPerf_dE = dsse('e',E,X,perf,PP)
dPerf_dX = dsse('x',E,X,perf,PP)
Description
dsse
is the derivative function for sse.
dsse('d',E,X,perf,PP)
takes these arguments,
E
-- Matrix or cell array of error vector(s)
X
-- Vector of all weight and bias values
and returns the derivative dPerf_dE.
dsse('x',E,X,perf,PP)
returns the derivative dPerf_dX.
Examples
Here we define an error E
and X
for a network with one 3-element output and six weight and bias values.
Here we calculate the network's sum squared error performance, and derivatives of performance.
Note that sse can be called with only one argument and dsse
with only three arguments because the other arguments are ignored. The other arguments exist so that sse and dsse
conform to standard performance function argument lists.
See Also
dsatlins | dtansig |
© 1994-2005 The MathWorks, Inc.