# netgrad

## Purpose

Evaluate network error gradient for generic optimizers

## Synopsis

    g = netgrad(w, net, x, t)

## Description

`g = netgrad(w, net, x, t)` takes a weight vector `w` and a network data structure `net`, together with the matrix `x` of input vectors and the matrix `t` of target vectors, and returns the gradient of the error function evaluated at `w`.

## See Also

`mlp`, `neterr`, `netopt`

Pages: Index

Copyright (c) Ian T Nabney (1996-9)