The Complete SPRLIB & ANNLIB

learn_ptron_init

- initialization routine for perceptron training

SYNOPSIS

int learn_ptron_init (dset)

ARGUMENTS

DATASET *dset The dataset used for initializing the perceptron learning.

RETURNS

The function returns TRUE if an error was detected and FALSE otherwise.

FUNCTION

This function is used to initialize the perceptron structures needed to train a perceptron. The dataset dset is used to create an array of training samples stored in the local structure LPAT.

NOTE

)The dataset dset must be IOSET and LEARNSET (see DATASET-flags. Furthermore this function does NOT initialize a PTRON structure. This must be done using malloc_ptron.

SEE ALSO

malloc_lspace, learn_ptron_free, malloc_ptron

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