Generative models - A gentle introduction Machine learning models can be broadly divided into discriminative or generative models.