wolffd@0
|
1 <html>
|
wolffd@0
|
2 <head>
|
wolffd@0
|
3 <title>
|
wolffd@0
|
4 Netlab Reference Manual glmerr
|
wolffd@0
|
5 </title>
|
wolffd@0
|
6 </head>
|
wolffd@0
|
7 <body>
|
wolffd@0
|
8 <H1> glmerr
|
wolffd@0
|
9 </H1>
|
wolffd@0
|
10 <h2>
|
wolffd@0
|
11 Purpose
|
wolffd@0
|
12 </h2>
|
wolffd@0
|
13 Evaluate error function for generalized linear model.
|
wolffd@0
|
14
|
wolffd@0
|
15 <p><h2>
|
wolffd@0
|
16 Synopsis
|
wolffd@0
|
17 </h2>
|
wolffd@0
|
18 <PRE>
|
wolffd@0
|
19 e = glmerr(net, x, t)
|
wolffd@0
|
20 [e, edata, eprior] = glmerr(net, x, t)
|
wolffd@0
|
21 [e, edata, eprior, y, a] = glmerr(net, x, t)
|
wolffd@0
|
22 </PRE>
|
wolffd@0
|
23
|
wolffd@0
|
24
|
wolffd@0
|
25 <p><h2>
|
wolffd@0
|
26 Description
|
wolffd@0
|
27 </h2>
|
wolffd@0
|
28
|
wolffd@0
|
29 <CODE>e = glmerr(net, x, t)</CODE> takes a generalized
|
wolffd@0
|
30 linear model data structure <CODE>net</CODE> together with a matrix <CODE>x</CODE>
|
wolffd@0
|
31 of input vectors and a matrix <CODE>t</CODE> of target vectors, and evaluates
|
wolffd@0
|
32 the error function <CODE>e</CODE>. The choice of error function corresponds
|
wolffd@0
|
33 to the output unit activation function. Each row of <CODE>x</CODE>
|
wolffd@0
|
34 corresponds to one input vector and each row of <CODE>t</CODE> corresponds to
|
wolffd@0
|
35 one target vector.
|
wolffd@0
|
36
|
wolffd@0
|
37 <p><CODE>[e, edata, eprior, y, a] = glmerr(net, x, t)</CODE> also returns
|
wolffd@0
|
38 the data and prior components of the total error.
|
wolffd@0
|
39
|
wolffd@0
|
40 <p><CODE>[e, edata, eprior, y, a] = glmerr(net, x)</CODE> also returns a matrix <CODE>y</CODE>
|
wolffd@0
|
41 giving the outputs of the models and a matrix <CODE>a</CODE>
|
wolffd@0
|
42 giving the summed inputs to each output unit, where each row
|
wolffd@0
|
43 corresponds to one pattern.
|
wolffd@0
|
44
|
wolffd@0
|
45 <p><h2>
|
wolffd@0
|
46 See Also
|
wolffd@0
|
47 </h2>
|
wolffd@0
|
48 <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="glmfwd.htm">glmfwd</a></CODE>, <CODE><a href="glmgrad.htm">glmgrad</a></CODE>, <CODE><a href="glmtrain.htm">glmtrain</a></CODE><hr>
|
wolffd@0
|
49 <b>Pages:</b>
|
wolffd@0
|
50 <a href="index.htm">Index</a>
|
wolffd@0
|
51 <hr>
|
wolffd@0
|
52 <p>Copyright (c) Ian T Nabney (1996-9)
|
wolffd@0
|
53
|
wolffd@0
|
54
|
wolffd@0
|
55 </body>
|
wolffd@0
|
56 </html> |