Machine Learning Lecture 5: Generative Learning Algorithm A