Daniel@0: Daniel@0: Daniel@0: Daniel@0: Netlab Reference Manual netpak Daniel@0: Daniel@0: Daniel@0: Daniel@0:

netpak Daniel@0:

Daniel@0:

Daniel@0: Purpose Daniel@0:

Daniel@0: Combines weights and biases into one weights vector. Daniel@0: Daniel@0:

Daniel@0: Synopsis Daniel@0:

Daniel@0:
Daniel@0: w = netpak(net)
Daniel@0: 
Daniel@0: Daniel@0: Daniel@0:

Daniel@0: Description 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:

Daniel@0: See Also Daniel@0:

Daniel@0: net, netunpak, netfwd, neterr, netgrad
Daniel@0: Pages: Daniel@0: Index Daniel@0:
Daniel@0:

Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: