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.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].

Previous topic

scipy.maxentropy.conditionalmodel.logparams

Next topic

scipy.maxentropy.conditionalmodel.normconst

This Page