neterr

Purpose

Evaluate network error function for generic optimizers

Synopsis

e = neterr(w, net, x, t)
[e, varargout] = neterr(w, net, x, t)

Description

e = neterr(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 value of the error function evaluated at w.

[e, varargout] = neterr(w, net, x, t) also returns any additional return values from the error function.

See Also

netgrad, nethess, netopt
Pages: Index

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