wolffd@0: wolffd@0:
wolffd@0:wolffd@0: e = mlperr(net, x, t) wolffd@0:wolffd@0: wolffd@0: wolffd@0:
e = mlperr(net, x, t)
takes a network data structure net
together
wolffd@0: with a matrix x
of input vectors and a matrix t
of target
wolffd@0: vectors, and evaluates the error function e
. The choice of error
wolffd@0: function corresponds to the output unit activation function. Each row
wolffd@0: of x
corresponds to one input vector and each row of t
wolffd@0: corresponds to one target vector.
wolffd@0:
wolffd@0: [e, edata, eprior] = mlperr(net, x, t)
additionally returns the
wolffd@0: data and prior components of the error, assuming a zero mean Gaussian
wolffd@0: prior on the weights with inverse variance parameters alpha
and
wolffd@0: beta
taken from the network data structure net
.
wolffd@0:
wolffd@0:
mlp
, mlppak
, mlpunpak
, mlpfwd
, mlpbkp
, mlpgrad
Copyright (c) Ian T Nabney (1996-9) wolffd@0: wolffd@0: wolffd@0: wolffd@0: