The Complete SPRLIB & ANNLIB
pr_error
- compute the classification error for a one-dimensional
classifier
SYNOPSIS
| double pr_error |
(K, M, b) |
ARGUMENTS
double | K | The covariance. |
double | M | The mean. |
double | b | The constant term. |
RETURNS
If an error was detetected the function returns a -1.0, otherwise it
returns the classification error made.
FUNCTION
The function computes the classification error of a one-dimensional
classifier given by F(x) = x + b. The routine calculates the probability
of a random pattern for which F(x) < 0 assuming a normal distribution.
SEE ALSO
pr_error_multi
This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998