The Complete SPRLIB & ANNLIB

parzen_probability

- determine the probability of a new pattern using the Parzen classifier

SYNOPSIS

double parzen_probability (pattern, Label, S)

ARGUMENTS

double *pattern The input pattern.
int Label The class of which the membership has to be determined.
double S Smoothing parameter (>=0) for the Parzen kernels.

RETURNS

If no error occurred the function returns the probability for pattern pattern belonging to class Label. In case of an error a negative number will be returned.

NOTE

For this function to work the Parzen estimator has to be initialized. This can be done using parzen_init. The function is meant for two class problems. The variable pattern is in vector format.

SEE ALSO

parzen_mclass

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