- 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.