In machine learning field is common to talk about discriminative and generative models. Before to talk about autoencoders and GANs it is important to make clear some concepts. A Discriminative model…