Domanda di colloquio di Profitect

What is the difference between generative and discriminative algorithms?