data was created and simply give us a classification or category for a given input sig‐
nal. Discriminative models focus on closely modeling the boundary between classes
and can yield a more nuanced representation of this boundary than a generative
model. Discriminative models are typically used for classification in machine learn‐
ing.
A generative model learns the joint probability distribution p(x, y), whereas a dis‐
criminative model learns the conditional probability distribution p(y|x). The distribu‐
tion p(y|x) is the natural distribution for taking input x and producing ...