clfLda

PURPOSE ^

Create a Linear Discriminant Analysis (LDA) classifier.

SYNOPSIS ^

function clf = clfLda( 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 

 USAGE
  clf = clfLda( p, [type], [prior] )

 INPUTS
  p       - data dimension
  type    - ['linear'] 'linear', 'quadratic', 'mahalanobis'
  prior   - [] prior to use 
 
 OUTPUTS
  clf     - an LDA model ready to be trained (see clfLdaTrain)

 EXAMPLE

 See also NFOLDXVAL, CLASSIFY, CLFLDATRAIN, CLFLDAFWD

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-Oct-2007 13:09:09 by m2html © 2003