This is documentation for an old release of SciPy (version 0.10.1). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
scipy.maxentropy.conditionalmodel.expectations
-
conditionalmodel.expectations()
The vector of expectations of the features with respect to the
distribution p_tilde(w) p(x | w), where p_tilde(w) is the
empirical probability mass function value stored as
self.p_tilde_context[w].