The Complete SPRLIB & ANNLIB

samann_der_linear

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

SYNOPSIS

double samann_der_linear (unit, pass)

ARGUMENTS

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

RETURNS

The first derivative of the linear transfer function for the activation for sample pass.

FUNCTION

This is a local version of the derivative of the linear transfer function (see TransSigmoid) which is adapted for handling two activations per unit. It returns 1.

SEE ALSO

samann_linear, samann_sigmoid, samann_adapt_unit

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