view toolboxes/FullBNT-1.0.7/nethelp3.3/glmgrad.htm @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
line wrap: on
line source
<html>
<head>
<title>
Netlab Reference Manual glmgrad
</title>
</head>
<body>
<H1> glmgrad
</H1>
<h2>
Purpose
</h2>
Evaluate gradient of error function for generalized linear model.

<p><h2>
Synopsis
</h2>
<PRE>

g = glmgrad(net, x, t)
[g, gdata, gprior] = glmgrad(net, x, t)
</PRE>


<p><h2>
Description
</h2>
<CODE>g = glmgrad(net, x, t)</CODE> takes a generalized linear model
data structure <CODE>net</CODE> 
together with a matrix <CODE>x</CODE> of input vectors and a matrix <CODE>t</CODE>
of target vectors, and evaluates the gradient <CODE>g</CODE> of the error
function with respect to the network weights. The error function
corresponds to the choice of output unit activation function. Each row
of <CODE>x</CODE> corresponds to one input vector and each row of <CODE>t</CODE>
corresponds to one target vector.

<p><CODE>[g, gdata, gprior] = glmgrad(net, x, t)</CODE> also returns separately 
the data and prior contributions to the gradient.

<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="glmfwd.htm">glmfwd</a></CODE>, <CODE><a href="glmerr.htm">glmerr</a></CODE>, <CODE><a href="glmtrain.htm">glmtrain</a></CODE><hr>
<b>Pages:</b>
<a href="index.htm">Index</a>
<hr>
<p>Copyright (c) Ian T Nabney (1996-9)


</body>
</html>