Constraint-free Graphical Model with Fast Learning Algorithm