Priors and Peaks

You fit a Gaussian generative classifier (Gaussian discriminant analysis) on a labeled training set with KK classes. Using maximum likelihood, what are the standard estimates for the class prior πk\pi_k and the class mean μk\mu_k?

A

πk\pi_k is the sample mean of class kk, and μk\mu_k is the fraction of training examples in class kk

B

πk\pi_k is the fraction of training examples in class kk, and μk\mu_k is the sample mean of the feature vectors belonging to class kk

C

πk\pi_k is always set to 1/K1/K regardless of class sizes, and μk\mu_k is the mean of the entire training set

D

πk\pi_k and μk\mu_k are both found by running logistic regression separately for each class