graphical models project