Example of discriminative modeling, taken from Generative Deeep Learning by David Foster