LaTeX transcription of Probabilistic Graphical Models class, lecture 8 (2014)