The Complete SPRLIB & ANNLIB

varset_error

- calculate the classification error for a linear discriminant function

SYNOPSIS

int double varset_error (c1, c2, c3)

ARGUMENTS

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

RETURNS

The returns the fraction wrongly classified samples for the varset standard classes.

FUNCTION

The function calculates the fraction of the samples 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 samples used for classification are drawn from the standard var dataset.

SEE ALSO

random_varset_a, random_varset_b

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