Daniel@0: Daniel@0: Daniel@0: Daniel@0: Netlab Reference Manual mlperr Daniel@0: Daniel@0: Daniel@0: Daniel@0:

mlperr Daniel@0:

Daniel@0:

Daniel@0: Purpose Daniel@0:

Daniel@0: Evaluate error function for 2-layer network. Daniel@0: Daniel@0:

Daniel@0: Synopsis Daniel@0:

Daniel@0:
Daniel@0: e = mlperr(net, x, t)
Daniel@0: 
Daniel@0: Daniel@0: Daniel@0:

Daniel@0: Description Daniel@0:

Daniel@0: e = mlperr(net, x, t) takes a network data structure net together Daniel@0: with a matrix x of input vectors and a matrix t of target Daniel@0: vectors, and evaluates the error function e. The choice of error Daniel@0: function corresponds to the output unit activation function. Each row Daniel@0: of x corresponds to one input vector and each row of t Daniel@0: corresponds to one target vector. Daniel@0: Daniel@0:

[e, edata, eprior] = mlperr(net, x, t) additionally returns the Daniel@0: data and prior components of the error, assuming a zero mean Gaussian Daniel@0: prior on the weights with inverse variance parameters alpha and Daniel@0: beta taken from the network data structure net. Daniel@0: Daniel@0:

Daniel@0: See Also Daniel@0:

Daniel@0: mlp, mlppak, mlpunpak, mlpfwd, mlpbkp, mlpgrad
Daniel@0: Pages: Daniel@0: Index Daniel@0:
Daniel@0:

Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: