Spike for using pystruct to learn factors that contribute to neighborhood boundaries