scipy.maxentropy.model.lognormconst

model.lognormconst()
Compute the log of the normalization constant (partition function) Z=sum_{x in samplespace} p_0(x) exp(params . f(x)). The sample space must be discrete and finite.