LearningofDiscreteGraphicalModelswithNeural Networks SupplementaryMaterial