clf_lda

PURPOSE ^

Create a Linear Discriminant Analysis (LDA) classifier.

SYNOPSIS ^

function clf = clf_lda( p, type, prior )

DESCRIPTION ^

 Create a Linear Discriminant Analysis (LDA) classifier.

 Same algorithm as matlab's function 'classify' (in the statistics toolbox).  Nice
 to have in form that actually stores a model that can be applied multiple times.
 
 For the meaning and usage of prior and type see classify.m

 INPUTS
   p       - data dimension
   type    - [optional] 'linear', 'quadratic', 'mahalanobis' [see classify.m]
   prior   - [optional] prior to use [see classify.m]
 
 OUTPUTS
   clf     - an clf_LDA model ready to be trained (see clf_lda_train)

 DATESTAMP
   11-Oct-2005  2:45pm

 See also NFOLDXVAL, CLASSIFY, CLF_LDA_TRAIN, CLF_LDA_FWD

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-May-2006 23:48:50 by m2html © 2003