This is documentation for an old release of SciPy (version 0.7.). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
scipy.maxentropy.conditionalmodel.logpmf
-
conditionalmodel.logpmf()
- Returns a (sparse) row vector of logarithms of the conditional
probability mass function (pmf) values p(x | c) for all pairs (c,
x), where c are contexts and x are points in the sample space.
The order of these is log p(x | c) = logpmf()[c * numsamplepoints
+ x].