An Introduction to Generative Models

Discriminative model:

  • The conditional probability of class label on data (posterior) $p(C_k\mid x)$

Generative models:

  • Likelihood $p(x\mid C_k)$
  • Sample from the likelihood to generate data
  • With latent variables $z$ and some neural network parameters $\theta$: $P(x,z\mid \theta) = p(x\mid z, \theta)p(z)$

Planted: by ;

L Ma (2021). 'An Introduction to Generative Models', Datumorphism, 08 April. Available at: