blob: 29286b7de33a263893e3cc4b8b6d20cc27155899 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<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>
|