view toolboxes/FullBNT-1.0.7/nethelp3.3/netpak.htm @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
line wrap: on
line source
<html>
<head>
<title>
Netlab Reference Manual netpak
</title>
</head>
<body>
<H1> netpak
</H1>
<h2>
Purpose
</h2>
Combines weights and biases into one weights vector.

<p><h2>
Synopsis
</h2>
<PRE>
w = netpak(net)
</PRE>


<p><h2>
Description
</h2>
<CODE>w = netpak(net)</CODE> takes a network data structure <CODE>net</CODE> and
combines the component weight matrices  into a single row
vector <CODE>w</CODE>. The facility to switch between these two
representations for the network parameters is useful, for example, in
training a network by error function minimization, since a single
vector of parameters can be handled by general-purpose optimization
routines.  This function also takes into account a <CODE>mask</CODE> defined
as a field in <CODE>net</CODE> by removing any weights that correspond to
entries of 0 in the mask.

<p><h2>
See Also
</h2>
<CODE><a href="net.htm">net</a></CODE>, <CODE><a href="netunpak.htm">netunpak</a></CODE>, <CODE><a href="netfwd.htm">netfwd</a></CODE>, <CODE><a href="neterr.htm">neterr</a></CODE>, <CODE><a href="netgrad.htm">netgrad</a></CODE><hr>
<b>Pages:</b>
<a href="index.htm">Index</a>
<hr>
<p>Copyright (c) Ian T Nabney (1996-9)


</body>
</html>