Daniel@0: Daniel@0:
Daniel@0:Daniel@0: e = mlperr(net, x, t) Daniel@0:Daniel@0: 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:
mlp
, mlppak
, mlpunpak
, mlpfwd
, mlpbkp
, mlpgrad
Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: