Daniel@0: Daniel@0:
Daniel@0:Daniel@0: g = netgrad(w, net, x, t)Daniel@0: Daniel@0: Daniel@0:
g = netgrad(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: gradient of the error function evaluated at w
.
Daniel@0:
Daniel@0:
mlp
, neterr
, netopt
Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: