Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's assume I want to train a binary naive Bayes classifier, with classes $y_0, y_1$ and $n$-dimensional data. For this one needs to calculate the conditional probabilities $P(x_i | y_j) $ for all pairs $i,j$.

When the distribution is discrete it's pretty straightforward, but let's assume I need to fit a continuous probability density function. Suppose I consider Gaussian and Poisson distributions, and would like to choose the more probable (use the ML principle). How do I choose which distribution is a better fit and what the parameters ($\lambda, \mu, \sigma)$ for those distributions should be?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.