MAP Inference Unary terms (compatability of data with label y) Pairwise terms (compatability of neighboring labels)