Pregunta de entrevista de Profitect

What is the difference between generative and discriminative algorithms?