h = mlphess(net, x, t) [h, hdata] = mlphess(net, x, t) h = mlphess(net, x, t, hdata)
h = mlphess(net, x, t)
takes an MLP network data structure net
,
a matrix x
of input values, and a matrix t
of target
values and returns the full Hessian matrix h
corresponding to
the second derivatives of the negative log posterior distribution,
evaluated for the current weight and bias values as defined by
net
.
[h, hdata] = mlphess(net, x, t)
returns both the Hessian matrix
h
and the contribution hdata
arising from the data dependent
term in the Hessian.
h = mlphess(net, x, t, hdata)
takes a network data structure
net
, a matrix x
of input values, and a matrix t
of
target values, together with the contribution hdata
arising from
the data dependent term in the Hessian, and returns the full Hessian
matrix h
corresponding to the second derivatives of the negative
log posterior distribution. This version saves computation time if
hdata
has already been evaluated for the current weight and bias
values.
h = beta*hd + alpha*Iwhere the contribution
hd
is evaluated by calls to mlphdotv
and
h
is the full Hessian.
mlp
, hesschek
, mlphdotv
, evidence
Copyright (c) Ian T Nabney (1996-9)