wolffd@0
|
1 <html>
|
wolffd@0
|
2 <head>
|
wolffd@0
|
3 <title>
|
wolffd@0
|
4 Netlab Reference Manual evidence
|
wolffd@0
|
5 </title>
|
wolffd@0
|
6 </head>
|
wolffd@0
|
7 <body>
|
wolffd@0
|
8 <H1> evidence
|
wolffd@0
|
9 </H1>
|
wolffd@0
|
10 <h2>
|
wolffd@0
|
11 Purpose
|
wolffd@0
|
12 </h2>
|
wolffd@0
|
13 Re-estimate hyperparameters using evidence approximation.
|
wolffd@0
|
14
|
wolffd@0
|
15 <p><h2>
|
wolffd@0
|
16 Synopsis
|
wolffd@0
|
17 </h2>
|
wolffd@0
|
18 <PRE>
|
wolffd@0
|
19 [net] = evidence(net, x, t)
|
wolffd@0
|
20 [net, gamma, logev] = evidence(net, x, t, num)
|
wolffd@0
|
21 </PRE>
|
wolffd@0
|
22
|
wolffd@0
|
23
|
wolffd@0
|
24 <p><h2>
|
wolffd@0
|
25 Description
|
wolffd@0
|
26 </h2>
|
wolffd@0
|
27 <CODE>[net] = evidence(net, x, t)</CODE> re-estimates the
|
wolffd@0
|
28 hyperparameters <CODE>alpha</CODE> and <CODE>beta</CODE> by applying Bayesian
|
wolffd@0
|
29 re-estimation formulae for <CODE>num</CODE> iterations. The hyperparameter
|
wolffd@0
|
30 <CODE>alpha</CODE> can be a simple scalar associated with an isotropic prior
|
wolffd@0
|
31 on the weights, or can be a vector in which each component is
|
wolffd@0
|
32 associated with a group of weights as defined by the <CODE>index</CODE>
|
wolffd@0
|
33 matrix in the <CODE>net</CODE> data structure. These more complex priors can
|
wolffd@0
|
34 be set up for an MLP using <CODE>mlpprior</CODE>. Initial values for the iterative
|
wolffd@0
|
35 re-estimation are taken from the network data structure <CODE>net</CODE>
|
wolffd@0
|
36 passed as an input argument, while the return argument <CODE>net</CODE>
|
wolffd@0
|
37 contains the re-estimated values.
|
wolffd@0
|
38
|
wolffd@0
|
39 <p><CODE>[net, gamma, logev] = evidence(net, x, t, num)</CODE> allows the re-estimation
|
wolffd@0
|
40 formula to be applied for <CODE>num</CODE> cycles in which the re-estimated
|
wolffd@0
|
41 values for the hyperparameters from each cycle are used to re-evaluate
|
wolffd@0
|
42 the Hessian matrix for the next cycle. The return value <CODE>gamma</CODE> is
|
wolffd@0
|
43 the number of well-determined parameters and <CODE>logev</CODE> is the log
|
wolffd@0
|
44 of the evidence.
|
wolffd@0
|
45
|
wolffd@0
|
46 <p><h2>
|
wolffd@0
|
47 See Also
|
wolffd@0
|
48 </h2>
|
wolffd@0
|
49 <CODE><a href="mlpprior.htm">mlpprior</a></CODE>, <CODE><a href="netgrad.htm">netgrad</a></CODE>, <CODE><a href="nethess.htm">nethess</a></CODE>, <CODE><a href="demev1.htm">demev1</a></CODE>, <CODE><a href="demard.htm">demard</a></CODE><hr>
|
wolffd@0
|
50 <b>Pages:</b>
|
wolffd@0
|
51 <a href="index.htm">Index</a>
|
wolffd@0
|
52 <hr>
|
wolffd@0
|
53 <p>Copyright (c) Ian T Nabney (1996-9)
|
wolffd@0
|
54
|
wolffd@0
|
55
|
wolffd@0
|
56 </body>
|
wolffd@0
|
57 </html> |