pyphi.core.tpm.factored#
Per-node-factored conditional TPM.
Represents the joint conditional P(s_{t+1} | s_t) as a product of N
per-node conditional marginals P(s_{i,t+1} | s_t). The joint is the
product of the factors under conditional independence (IIT’s standing
assumption that nodes update independently given the joint past).
Factor i has shape (a_1, ..., a_N, a_i) where a_j is the
alphabet size of node j. Each input axis of a node that factor i
does not depend on has size 1; these size-1 axes encode the connectivity
structure and are never squeezed away.
Functions
|
The index of the first entry of |
The tolerance within which a TPM entry or row sum counts as valid. |
Classes
|
Per-node-factored conditional TPM. |