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

scipy.maxentropy.conditionalmodel.normconst

conditionalmodel.normconst()

Returns the normalization constant, or partition function, for the current model. Warning – this may be too large to represent; if so, this will result in numerical overflow. In this case use lognormconst() instead.

For ‘bigmodel’ instances, estimates the normalization term as Z = E_aux_dist [{exp (params.f(X))} / aux_dist(X)] using a sample from aux_dist.

Previous topic

scipy.maxentropy.conditionalmodel.logpmf

Next topic

scipy.maxentropy.conditionalmodel.pmf

This Page