The Complete SPRLIB & ANNLIB

samann_linear

- a local version of the linear transfer function (LOCAL)

SYNOPSIS

double samann_linear (unit, pass)

ARGUMENTS

UNIT *unit The unit for which the output is to be calculated.
int pass The number of the activation to take (1 or 2).

RETURNS

The value of the linear transfer function for the activation for sample pass.

FUNCTION

This is a local version of the linear transfer function (see TransSigmoid) which is adapted for handling two activations per unit. The transfer function is calculated using activation pass (see SAMANN_STRUCT).

SEE ALSO

samann_der_linear, samann_sigmoid, samann_adapt_unit

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