The Complete SPRLIB & ANNLIB

pn_init

- initialise and set up a network for training with the pseudo-Newton backpropagation learning rule

SYNOPSIS

int pn_init (net, tf, dtf, ddtf, c1, c2, c3)

ARGUMENTS

NET *net A pointer to a multilayer feedforward NET.
double (*tf)() Pointer to transfer function.
double (*dtf)() Pointer to derivative of transfer function.
double (*ddtf)() Pointer to second derivative of transfer function.
double c1 Optional parameter 1 to the transfer function.
double c2 Optional parameter 2 to the transfer function.
double c3 Optional parameter 3 to the transfer function.

RETURNS

TRUE if an error was detected, FALSE if no error was detected.

NOTE

After some initial checking, space is allocated for storing information through the SystemData field of the weights and biases. See PN_STRUCT.

SEE ALSO

pn_learn

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