probabilistic graphical model project