blob: e19369d3a068514902443b22896bf084ae3f06bc (
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
48
49
|
<html>
<head>
<title>
Netlab Reference Manual glminit
</title>
</head>
<body>
<H1> glminit
</H1>
<h2>
Purpose
</h2>
Initialise the weights in a generalized linear model.
<p><h2>
Synopsis
</h2>
<PRE>
net = glminit(net, prior)
</PRE>
<p><h2>
Description
</h2>
<p><CODE>net = glminit(net, prior)</CODE> takes a generalized linear model
<CODE>net</CODE> and sets the weights and biases by sampling from a Gaussian
distribution. If <CODE>prior</CODE> is a scalar, then all of the parameters
(weights and biases) are sampled from a single isotropic Gaussian with
inverse variance equal to <CODE>prior</CODE>. If <CODE>prior</CODE> is a data
structure similar to that in <CODE>mlpprior</CODE> but for a single layer of
weights, then the parameters
are sampled from multiple Gaussians according to their groupings
(defined by the <CODE>index</CODE> field) with corresponding variances
(defined by the <CODE>alpha</CODE> field).
<p><h2>
See Also
</h2>
<CODE><a href="glm.htm">glm</a></CODE>, <CODE><a href="glmpak.htm">glmpak</a></CODE>, <CODE><a href="glmunpak.htm">glmunpak</a></CODE>, <CODE><a href="mlpinit.htm">mlpinit</a></CODE>, <CODE><a href="mlpprior.htm">mlpprior</a></CODE><hr>
<b>Pages:</b>
<a href="index.htm">Index</a>
<hr>
<p>Copyright (c) Ian T Nabney (1996-9)
</body>
</html>
|