Implements weighted likelihood estimation for LDA
wlda(a, w)
m contains the means, p contains the class priors, iW contains the INVERTED within covariance matrix
is the data set
is an indicator matrix for the K classes or, potentially, a weight matrix in which the fraction with which a sample belongs to a particular class is indicated