mlperr

Purpose

Evaluate error function for 2-layer network.

Synopsis

e = mlperr(net, x, t)

Description

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

[e, edata, eprior] = mlperr(net, x, t) also returns the data and prior components of the total error.

See Also

mlp, mlppak, mlpunpak, mlpfwd, mlpbkp, mlpgrad
Pages: Index

Copyright (c) Christopher M Bishop, Ian T Nabney (1996, 1997)