PRTools Contents

PRTools User Guide



Bayes Classifier for given normal densities

    W = NBAYESC(U,G)

 U Dataset of means of classes
 G Covariance matrices (optional; default: identity matrices)

 W Bayes classifier


Computation of the Bayes normal classifier between a set of classes.  The means, labels and priors are defined by the dataset U of the size  [C x K]. The covariance matrices are stored in a matrix G of the  size [K x K x C], where K and C correspond to the dimensionality and  the number of classes, respectively.

If C is 1, then G is treated as the common covariance matrix, yielding  a linear solution. For G = I, the nearest mean solution is obtained.

This routine gives the exact solution for the given parameters, while  the trainable classifiers QDC and LDC give approximate solutions, based  on the parameter estimates from a training set. For a given dataset, U and G can be computed by MEANCOV.



See also

mappings, datasets, qdc, ldc, nmc,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.