Daniel@0: Daniel@0:
Daniel@0:Daniel@0: e = glmerr(net, x, t) Daniel@0: [e, edata, eprior] = glmerr(net, x, t) Daniel@0: [e, edata, eprior, y, a] = glmerr(net, x, t) Daniel@0:Daniel@0: Daniel@0: Daniel@0:
e = glmerr(net, x, t)
takes a generalized
Daniel@0: linear model data structure net
together with a matrix x
Daniel@0: of input vectors and a matrix t
of target vectors, and evaluates
Daniel@0: the error function e
. The choice of error function corresponds
Daniel@0: to the output unit activation function. Each row of x
Daniel@0: corresponds to one input vector and each row of t
corresponds to
Daniel@0: one target vector.
Daniel@0:
Daniel@0: [e, edata, eprior, y, a] = glmerr(net, x, t)
also returns
Daniel@0: the data and prior components of the total error.
Daniel@0:
Daniel@0:
[e, edata, eprior, y, a] = glmerr(net, x)
also returns a matrix y
Daniel@0: giving the outputs of the models and a matrix a
Daniel@0: giving the summed inputs to each output unit, where each row
Daniel@0: corresponds to one pattern.
Daniel@0:
Daniel@0:
glm
, glmpak
, glmunpak
, glmfwd
, glmgrad
, glmtrain
Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: