Generative Models for Classification

Generative Models for Classification

Let πk represent the overall or prior probability that a randomly chosen observation comes from the kth class. Let fk(X)≡Pr(X|Y=k) denote the density function of X or an observation that comes from the kth class. Then the posterior probability that an observation X=x belongs to the kth class is:

Pr(Y=k|X=x)=πkfk(x)∑l=1Kπlfl(x)

Estimate πk by computing the fraction of the training observations that belong to the kth class using a random sample from the population. To estimate fk(x), simplifying assumptions is typical as it's more challenging to do. Three classifiers that use different estimates of fk(x): Linear Discriminant Analysis for p eq1, Linear Discriminant Analysis for p greater than 1, Quadratic Discriminant Analysis, and Naive Bayes.

Sources: 1

Connect With Me!