The Complete SPRLIB & ANNLIB

learn_ptron

- train a perceptron with the loaded training samples

SYNOPSIS

int learn_ptron (ptron, c, itt)

ARGUMENTS

PTRON *ptron The perceptron to be updated.
double c The learning rate.
int itt The number of iterations.

RETURNS

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

FUNCTION

This function performs a number of training cycles using the dataset initialized using learn_ptron_init. in each iteration the complete dataset is offered to the perceptron, e.g. itt=10 means ten times training the whole dataset. The variable c is the same as in widrow_hoff_ptron.

SEE ALSO

learn_ptron_free, widrow_hoff_ptron, delta_ptron, learn_ptron_init

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