The Complete SPRLIB & ANNLIB

ActInprod

- activation function

SYNOPSIS

double ActInprod (unit)

ARGUMENTS

UNIT *unit A pointer to a UNIT structure.

RETURNS

The activation of unit: the dot product of the weights and the inputs.

FUNCTION

The function traverses the linked list of incoming links - the InLinks - and multiplies each LINK 's weight value by the output value of the unit it points to. Finally, the UNIT 's bias (theta) is added. In formula: W . O^T + B.

SEE ALSO

ActEucDist, ActSqEucDist, FUNCTION, get_act_func_name, get_act_func_ptr

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