Train a Linear Discriminant Analysis (LDA) classifier. USAGE clf = clfLdaTrain( clf, X, Y ) INPUTS clf - model to be trained X - nxp data array Y - nx1 array of labels (or cell array, see classify.m) OUTPUTS clf - a trained LDA model EXAMPLE See also CLFLDA, CLFLDAFWD Piotr's Image&Video Toolbox Version 2.0 Copyright 2008 Piotr Dollar. [pdollar-at-caltech.edu] Please email me if you find bugs, or have suggestions or questions! Licensed under the Lesser GPL [see external/lgpl.txt]