UGM: Matlab code for undirected graphical models. UGM is a set of Matlab functions implementing various tasks in probabilistic undirected graphical models of discrete data with pairwise (and unary) potentials. Specifically, it implements a variety of methods for the following four tasks: Decoding: Computing the most likely configuration. Inference: Computing the partition function and marginal probabilities. Sampling: Generating samples from the distribution. Training: Fitting a model to a given dataset. The first three tasks are implemented for arbitrary discrete undirected graphical models with pairwise potentials. The last task focuses on Markov random fields and conditional random fields with log-linear potentials. The code is written entirely in Matlab, although more efficient mex versions of many parts of the code are also available.

Keywords for this software

Anything in here will be replaced on browsers that support the canvas element