Generative models vs discriminative models

with No Comments

Let’s say you have input data x and you want to classify the data into labels y. A generative model learns the joint probability distribution p(x,y) and a discriminative model learns the conditionalprobability distribution p(y|x) – which you should read as “the probability of y given x“. Here’s a really simple example. Suppose you … Read More