Daniel@0: Daniel@0:
Daniel@0:Daniel@0: h = neterr(w, net, x, t) Daniel@0: [h, varargout] = neterr(w, net, x, t, varargin) Daniel@0:Daniel@0: Daniel@0: Daniel@0:
h = nethess(w, net, x, t)
takes a weight vector w
and a network
Daniel@0: data structure net
, together with the matrix x
of input
Daniel@0: vectors and the matrix t
of target vectors, and returns the
Daniel@0: value of the Hessian evaluated at w
.
Daniel@0:
Daniel@0:
[e, varargout] = nethess(w, net, x, t, varargin)
also returns any additional
Daniel@0: return values from the network Hessian function, and passes additional arguments
Daniel@0: to that function.
Daniel@0:
Daniel@0:
In evidence
, this function is called once to compute the
Daniel@0: data contribution to the Hessian
Daniel@0:
Daniel@0: Daniel@0: [h, dh] = nethess(w, net, x, t, dh); Daniel@0:Daniel@0: Daniel@0: and again to update the Hessian for new values of the hyper-parameters Daniel@0:
Daniel@0: Daniel@0: h = nethess(w, net, x, t, dh); Daniel@0:Daniel@0: Daniel@0: Daniel@0:
neterr
, netgrad
, netopt
Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: