The Complete SPRLIB & ANNLIB

sample_mse

- calculate the MSE of one sample and the corresponding network output

SYNOPSIS

double sample_mse (net, sample)

ARGUMENTS

NET *net A pointer to a NET structure.
SAMPLE *sample A pointer to a dataset SAMPLE structure.

RETURNS

The MSE of one sample and the corresponding network output.

FUNCTION

The function first calls eval_ff_net with sample's Input vector and calculates the MSE between the network output and sample's Output vector.

NOTE

The same code as sample_perf, but faster.

SEE ALSO

net_mse

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