pystruct/pystruct — pull request #93 by fgregg (2013-10-16 15:15:29+00:00)
Title: Potts model

Extends the EdgeFeaturedGraphCRF class to make a simple Potts model, where the edges have a potential of 0 if neighbors have the same state and some other potential otherwise.