powered by
For a sample matrix, x, we compute the MLE for the covariance matrix for each class given in the vector, y.
x
y
cov_list(x, y)
data matrix with n observations and p feature vectors
n
p
class labels for observations (rows) in x
list of the sample covariance matrices of size \(p \times p\) for each class given in y.