annotate toolboxes/FullBNT-1.0.7/nethelp3.3/mlperr.htm @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 <html>
wolffd@0 2 <head>
wolffd@0 3 <title>
wolffd@0 4 Netlab Reference Manual mlperr
wolffd@0 5 </title>
wolffd@0 6 </head>
wolffd@0 7 <body>
wolffd@0 8 <H1> mlperr
wolffd@0 9 </H1>
wolffd@0 10 <h2>
wolffd@0 11 Purpose
wolffd@0 12 </h2>
wolffd@0 13 Evaluate error function for 2-layer network.
wolffd@0 14
wolffd@0 15 <p><h2>
wolffd@0 16 Synopsis
wolffd@0 17 </h2>
wolffd@0 18 <PRE>
wolffd@0 19 e = mlperr(net, x, t)
wolffd@0 20 </PRE>
wolffd@0 21
wolffd@0 22
wolffd@0 23 <p><h2>
wolffd@0 24 Description
wolffd@0 25 </h2>
wolffd@0 26 <CODE>e = mlperr(net, x, t)</CODE> takes a network data structure <CODE>net</CODE> together
wolffd@0 27 with a matrix <CODE>x</CODE> of input vectors and a matrix <CODE>t</CODE> of target
wolffd@0 28 vectors, and evaluates the error function <CODE>e</CODE>. The choice of error
wolffd@0 29 function corresponds to the output unit activation function. Each row
wolffd@0 30 of <CODE>x</CODE> corresponds to one input vector and each row of <CODE>t</CODE>
wolffd@0 31 corresponds to one target vector.
wolffd@0 32
wolffd@0 33 <p><CODE>[e, edata, eprior] = mlperr(net, x, t)</CODE> additionally returns the
wolffd@0 34 data and prior components of the error, assuming a zero mean Gaussian
wolffd@0 35 prior on the weights with inverse variance parameters <CODE>alpha</CODE> and
wolffd@0 36 <CODE>beta</CODE> taken from the network data structure <CODE>net</CODE>.
wolffd@0 37
wolffd@0 38 <p><h2>
wolffd@0 39 See Also
wolffd@0 40 </h2>
wolffd@0 41 <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="mlpbkp.htm">mlpbkp</a></CODE>, <CODE><a href="mlpgrad.htm">mlpgrad</a></CODE><hr>
wolffd@0 42 <b>Pages:</b>
wolffd@0 43 <a href="index.htm">Index</a>
wolffd@0 44 <hr>
wolffd@0 45 <p>Copyright (c) Ian T Nabney (1996-9)
wolffd@0 46
wolffd@0 47
wolffd@0 48 </body>
wolffd@0 49 </html>