e = neterr(w, net, x, t) [e, varargout] = neterr(w, net, x, t)
e = neterr(w, net, x, t)
takes a weight vector w
and a network
data structure net
, together with the matrix x
of input
vectors and the matrix t
of target vectors, and returns the
value of the error function evaluated at w
.
[e, varargout] = neterr(w, net, x, t)
also returns any additional
return values from the error function.
netgrad
, nethess
, netopt
Copyright (c) Ian T Nabney (1996-9)