Measures the expected log-likelihood of the LDA model defined by m, p, and iW on the data set a, where weights w are potentially taken into account
wlda_loglik(m, p, iW, a, w)
means
class prior
is the inverse of the within covariance matrix
design matrix
weights
Average log likelihood