Machine Learning, Generative Model, Probability.
best only approximate the required two quantities. P(cₖ) can be calculated by just counting the number of times cₖ occurs in the training set. Calculating P(x|cₖ) is much more challenging. There are multiple ways to do that. Some of them are: Domain knowledge: We know the feature well enough to