Click notes-PGM-inference.pdf link to view the file.