Bayes and Logistic Regression

The class posterior distribution for a Naive Bayes classification model has the same form as multinomial logistic regression:

p(y=c|x,θ)=eβTcx+γcCc=1eβTcx+γc

Naive Bayes

f(y|x1,x2,...,xp)=f(y)L(y|x1,x2,...,xp)yf(y)L(y|x1,x2,...,xp)

  • conditionally independent computationally efficient
  • generalizes to more than two categories
  • assumptions violated commonly in practice
  • optimizes joint likelihood np(yn,xn|θ)

Logistic Regression

log(π1π)=β0+β1X1++βkXp

  • binary classification
  • coefficients illumination of the relationships among these variables
  • optimizes conditional likelihood np(yn|xn,θ)