This is documentation for an old release of SciPy (version 0.9.0). Read this page in the documentation of the latest stable release (version 1.15.1).

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.

Previous topic

scipy.maxentropy.model.expectations

Next topic

scipy.maxentropy.model.logpmf

This Page