---
title: "Difference Between Logistic Regression and Naive Bayes"
source: https://www.jemoka.com/posts/kbhgenerative_vs_discriminitive_classifier/
---

Generative Classifier A Generative Classifier builds a good model of a class, and use that to assign how &ldquo;class-y&rdquo; is that image.
For instance, to categorize cats vs. dogs, we build a cat model and dog model. To classify, then, we see if a particular image is more &ldquo;cat-y&rdquo; or &ldquo;dog-y&rdquo;.
Discriminative Classifier A Discriminative Classifier observes the differences between two classes, instead of trying to model each one.
