Maximum a Posteriori Inference