Predictive models answer questions such as whether an image shows a cat or a dog. Generative models instead learn how data looks so they can produce new, similar examples. A generative adversarial network (GAN) uses two competing neural networks: a generator creates realistic-looking images, and a discriminator tries to distinguish generated images from real ones. section 10.5 section 2.3
During training, the two networks interact:
- The discriminator receives real images and images made by the generator. section 10.5
- The generator aims to make images realistic enough to challenge the discriminator. section 10.5
- With a dataset of human faces, this process can produce realistic-looking faces. section 10.5
GANs are one approach to generative machine learning, which is difficult and can require lots of data and computing power. The idea here is intuitive rather than a detailed treatment of how to build or train one. section 2.3 section 10.5











