annotate toolboxes/FullBNT-1.0.7/nethelp3.3/mlpgrad.htm @ 0:cc4b1211e677 tip

initial commit to HG from Changeset: 646 (e263d8a21543) added further path and more save "camirversion.m"
author Daniel Wolff
date Fri, 19 Aug 2016 13:07:06 +0200
parents
children
rev   line source
Daniel@0 1 <html>
Daniel@0 2 <head>
Daniel@0 3 <title>
Daniel@0 4 Netlab Reference Manual mlpgrad
Daniel@0 5 </title>
Daniel@0 6 </head>
Daniel@0 7 <body>
Daniel@0 8 <H1> mlpgrad
Daniel@0 9 </H1>
Daniel@0 10 <h2>
Daniel@0 11 Purpose
Daniel@0 12 </h2>
Daniel@0 13 Evaluate gradient of error function for 2-layer network.
Daniel@0 14
Daniel@0 15 <p><h2>
Daniel@0 16 Synopsis
Daniel@0 17 </h2>
Daniel@0 18 <PRE>
Daniel@0 19
Daniel@0 20 g = mlpgrad(net, x, t)
Daniel@0 21 </PRE>
Daniel@0 22
Daniel@0 23
Daniel@0 24 <p><h2>
Daniel@0 25 Description
Daniel@0 26 </h2>
Daniel@0 27 <CODE>g = mlpgrad(net, x, t)</CODE> takes a network data structure <CODE>net</CODE>
Daniel@0 28 together with a matrix <CODE>x</CODE> of input vectors and a matrix <CODE>t</CODE>
Daniel@0 29 of target vectors, and evaluates the gradient <CODE>g</CODE> of the error
Daniel@0 30 function with respect to the network weights. The error funcion
Daniel@0 31 corresponds to the choice of output unit activation function. Each row
Daniel@0 32 of <CODE>x</CODE> corresponds to one input vector and each row of <CODE>t</CODE>
Daniel@0 33 corresponds to one target vector.
Daniel@0 34
Daniel@0 35 <p><CODE>[g, gdata, gprior] = mlpgrad(net, x, t)</CODE> also returns separately
Daniel@0 36 the data and prior contributions to the gradient. In the case of
Daniel@0 37 multiple groups in the prior, <CODE>gprior</CODE> is a matrix with a row
Daniel@0 38 for each group and a column for each weight parameter.
Daniel@0 39
Daniel@0 40 <p><h2>
Daniel@0 41 See Also
Daniel@0 42 </h2>
Daniel@0 43 <CODE><a href="mlp.htm">mlp</a></CODE>, <CODE><a href="mlppak.htm">mlppak</a></CODE>, <CODE><a href="mlpunpak.htm">mlpunpak</a></CODE>, <CODE><a href="mlpfwd.htm">mlpfwd</a></CODE>, <CODE><a href="mlperr.htm">mlperr</a></CODE>, <CODE><a href="mlpbkp.htm">mlpbkp</a></CODE><hr>
Daniel@0 44 <b>Pages:</b>
Daniel@0 45 <a href="index.htm">Index</a>
Daniel@0 46 <hr>
Daniel@0 47 <p>Copyright (c) Ian T Nabney (1996-9)
Daniel@0 48
Daniel@0 49
Daniel@0 50 </body>
Daniel@0 51 </html>