The Complete SPRLIB & ANNLIB

eval_error_ptron

- compute the error of a perceptron on the allocated dataset

SYNOPSIS

int eval_error_ptron (ptron, error)

ARGUMENTS

PTRON *ptron The perceptron.
double *error The error of the perceptron, a vector of size [1..ptron->noutputs].

RETURNS

If no error was detected the function returns FALSE and error contains a valid number for the error made by the perceptron. If an error was detected the function returns TRUE.

FUNCTION

This function computes the error a perceptron makes on the dataset which was used by learn_ptron_init.

SEE ALSO

learn_ptron_init, learn_ptron

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