The Complete SPRLIB & ANNLIB

samann_sigmoid

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

SYNOPSIS

double samann_sigmoid (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 sigmoid transfer function for the activation for sample pass.

FUNCTION

This is a local version of the sigmoid 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_sigmoid, samann_adapt_unit

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