wolffd@0: wolffd@0:
wolffd@0:wolffd@0: wolffd@0: [y, extra] = netevfwd(w, net, x, t, x_test) wolffd@0: [y, extra, invhess] = netevfwd(w, net, x, t, x_test, invhess) wolffd@0:wolffd@0: wolffd@0: wolffd@0:
[y, extra] = netevfwd(w, net, x, t, x_test)
takes a network data
wolffd@0: structure
wolffd@0: net
together with the input x
and target t
training data
wolffd@0: and input test data x_test
.
wolffd@0: It returns the normal forward propagation through the network y
wolffd@0: together with a matrix extra
which consists of error bars (variance)
wolffd@0: for a regression problem or moderated outputs for a classification problem.
wolffd@0:
wolffd@0: The optional argument (and return value)
wolffd@0: invhess
is the inverse of the network Hessian
wolffd@0: computed on the training data inputs and targets. Passing it in avoids
wolffd@0: recomputing it, which can be a significant saving for large training sets.
wolffd@0:
wolffd@0:
mlpevfwd
, rbfevfwd
, glmevfwd
, fevbayes
Copyright (c) Ian T Nabney (1996-9) wolffd@0: wolffd@0: wolffd@0: wolffd@0: