Example of generative modeling, taken from Generative Deep Learning by David Foster