The Complete SPRLIB & ANNLIB

marq_grad_output

- calculate the gradient of the network weights (LOCAL)

SYNOPSIS

int marq_grad_output (dset, net, X, Xt)

ARGUMENTS

DATASET *dset Pointer to a dataset.
NET *net Pointer to a feed forward network.
double **X A matrix containing, upon exit, the result.
double **Xt The transposed of X.

RETURNS

TRUE if an error was detected, FALSE if no error was detected.

FUNCTION

This routine calculates the gradient of the network weights and biases with respect to the dataset. The result is stored in the matrix X. The transposed of X is returned through Xt.

SEE ALSO

learn_marquardt_ffnet, calc_marq_step, marq_grad_mse, marq_grad_net, marq_grad_unit

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998