Daniel@0: Daniel@0:
Daniel@0:Daniel@0: w = netpak(net) Daniel@0:Daniel@0: Daniel@0: Daniel@0:
w = netpak(net)
takes a network data structure net
and
Daniel@0: combines the component weight matrices into a single row
Daniel@0: vector w
. The facility to switch between these two
Daniel@0: representations for the network parameters is useful, for example, in
Daniel@0: training a network by error function minimization, since a single
Daniel@0: vector of parameters can be handled by general-purpose optimization
Daniel@0: routines. This function also takes into account a mask
defined
Daniel@0: as a field in net
by removing any weights that correspond to
Daniel@0: entries of 0 in the mask.
Daniel@0:
Daniel@0: net
, netunpak
, netfwd
, neterr
, netgrad
Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: