Then, we can compute the posterior which is essentially a weighted linear combination of a set of features.
to instantiate the MRF model, one needs to define a graph structure and a set of potential functions.