The Complete SPRLIB & ANNLIB

meanset_error

- compute the classification error on the meanset using a linear discriminant

SYNOPSIS

double meanset_error (c1, c2, c3)

ARGUMENTS

double c1 Coefficient 1.
double c2 Coefficient 2.
double c3 Coefficient 3.

RETURNS

The function returns the fraction of wrongly classified samples for the meanset standard classes.

FUNCTION

The function calculates the fraction of the sample wrongly classified by a linear discriminant function. This linear function is described by three parameters c1, c2 and c3, combined they constitute the linear classifier F(x1,x2) = c1*x1 + c2*x2 + c3. The sample used for classification are drawn from the standard mean dataset.

SEE ALSO

random_meanset_a, random_meanset_b

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