The Complete SPRLIB & ANNLIB

UNIT_VALUE

- unit value datatype

SYNOPSIS

typedef struct unit_value

{

double Activation; Current activation.

double Output; Current output.

double CurError; Current error (target - output) or back-propagation delta.

double CurError_2; 2nd order error or back-propagation delta, as used in the pseudo-Newton method.

struct unit_value *Hist; Previous unit states.

} UNIT_VALUE;

DESCRIPTION

This type is used to represent a unit's value. The fields speak for themselves.

NOTE

If the history flag HISTU (see HIST-flags) is set during training, the UNIT structure points to the first UNIT_VALUE structure of a linked list. This first structure contains the last value and points through the Hist field to its predecessor. In this way, walking down the linked list from the UNIT gives a reverse chronological list of its values. The last entry has a Hist = NULL.

SEE ALSO

UNIT

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