e = errbayes(net, edata) [e, edata, eprior] = errbayes(net, edata)
e = errbayes(net, edata)
takes a network data structure
net
together
the data contribution to the error for a set of inputs and targets.
It returns the regularised error using any zero mean Gaussian priors
on the weights defined in
net
.
[e, edata, eprior] = errbayes(net, x, t)
additionally returns the
data and prior components of the error.
glmerr
, mlperr
, rbferr
Copyright (c) Ian T Nabney (1996-9)