The interaction information is equal in magnitude to the co-information, but has the opposite sign when taken over an odd number of variables:
Interaction information was first studied in the 3-variable case which, for \(X_{0:3} = X_0X_1X_2\), takes the following form:
The extension to \(n>3\) proceeds recursively. For example,
Calculates the interaction information.
Parameters : |
|
---|---|
Returns: | II (float) – The interaction information. |
Raises : | ditException – Raised if dist is not a joint distribution. |