Generative means "based on " and discriminative means "based on ," but I'm confused on several points:
- Wikipedia (+ many other hits on the web) classify things like SVMs and decision trees as being discriminative. But these don't even have probabilistic interpretations. What does discriminative mean here? Has discriminative just come to mean anything that isn't generative?
- Naive Bayes (NB) is generative because it captures and , and thus you have (as well as ). Isn't it trivial to make, say, logistic regression (the poster boy of discriminative models) "generative" by simply computing in a similar fashion (same independence assumption as NB, such that , where the MLE for are just frequencies)?
The fundamental difference between discriminative models and generative models is:
- Discriminative models learn the (hard or soft) boundary between classes
- Generative models model the distribution of individual classes
- The generative model would allow you to evaluate the likelihood of new pairs (x,y). The discriminative model allows you to predict the likelihood of different values of y given a value of x.
The generative model also has MORE to learn, since (in theory), you can always marginalize out y(summing over y) to get p(x), and then dividng the generative probability by that, you have p(y | x), the discriminative model.