x)\)</span> with assumptions on <span class="arithmatex">\(P(X)\)</span>. Logistic regression is a <em>discriminative classifier</em>, which directly models the posterior probability <span class="arithmatex">\(P(y|x)\)</span>.</p>
<p>The naive Bayes model assumes that given a class <span class="arithmatex">\(G=j\)</span>, the features <span class="arithmatex">\(X_k\)</span> are independent, while GAM only assumes the additivity of the model. The difference in the assumption leads to the difference in parame