Given a data matrix, compute the log density using leave-one-out cross validation, taking in turn an observation as location vector and computing the density of the resulting mixture.
gauss_loo(x, Sigma, logweights)
a vector of values for the weighted leave-one-out likelihood
n
by d
matrix of observations
smoothing positive-definite matrix
vector of log weights