| wolffd@0 | 1 <html> | 
| wolffd@0 | 2 <head> | 
| wolffd@0 | 3 <title> | 
| wolffd@0 | 4 Netlab Reference Manual fevbayes | 
| wolffd@0 | 5 </title> | 
| wolffd@0 | 6 </head> | 
| wolffd@0 | 7 <body> | 
| wolffd@0 | 8 <H1> fevbayes | 
| wolffd@0 | 9 </H1> | 
| wolffd@0 | 10 <h2> | 
| wolffd@0 | 11 Purpose | 
| wolffd@0 | 12 </h2> | 
| wolffd@0 | 13 Evaluate Bayesian regularisation for network forward propagation. | 
| wolffd@0 | 14 | 
| wolffd@0 | 15 <p><h2> | 
| wolffd@0 | 16 Synopsis | 
| wolffd@0 | 17 </h2> | 
| wolffd@0 | 18 <PRE> | 
| wolffd@0 | 19 extra = fevbayes(net, y, a, x, t, x_test) | 
| wolffd@0 | 20 [extra, invhess] = fevbayes(net, y, a, x, t, x_test, invhess) | 
| 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>extra = fevbayes(net, y, a, x, t, x_test)</CODE> takes a network data structure | 
| wolffd@0 | 28 <CODE>net</CODE> together with a set of hidden unit activations <CODE>a</CODE> from | 
| wolffd@0 | 29 test inputs <CODE>x_test</CODE>, training data inputs <CODE>x</CODE> and <CODE>t</CODE> and | 
| wolffd@0 | 30 outputs a matrix of extra information <CODE>extra</CODE> that consists of | 
| wolffd@0 | 31 error bars (variance) | 
| wolffd@0 | 32 for a regression problem or moderated outputs for a classification problem. | 
| wolffd@0 | 33 The optional argument (and return value) | 
| wolffd@0 | 34 <CODE>invhess</CODE> is the inverse of the network Hessian | 
| wolffd@0 | 35 computed on the training data inputs and targets.  Passing it in avoids | 
| wolffd@0 | 36 recomputing it, which can be a significant saving for large training sets. | 
| wolffd@0 | 37 | 
| wolffd@0 | 38 <p>This is called by network-specific functions such as <CODE>mlpevfwd</CODE> which | 
| wolffd@0 | 39 are needed since the return values (predictions and hidden unit activations) | 
| wolffd@0 | 40 for different network types are in different orders (for good reasons). | 
| wolffd@0 | 41 | 
| wolffd@0 | 42 <p><h2> | 
| wolffd@0 | 43 See Also | 
| wolffd@0 | 44 </h2> | 
| wolffd@0 | 45 <CODE><a href="mlpevfwd.htm">mlpevfwd</a></CODE>, <CODE><a href="rbfevfwd.htm">rbfevfwd</a></CODE>, <CODE><a href="glmevfwd.htm">glmevfwd</a></CODE><hr> | 
| wolffd@0 | 46 <b>Pages:</b> | 
| wolffd@0 | 47 <a href="index.htm">Index</a> | 
| wolffd@0 | 48 <hr> | 
| wolffd@0 | 49 <p>Copyright (c) Ian T Nabney (1996-9) | 
| wolffd@0 | 50 | 
| wolffd@0 | 51 | 
| wolffd@0 | 52 </body> | 
| wolffd@0 | 53 </html> |