Notes on generative models.