probabilistic graphical models, 2950p