For a detailed description, see:
- Artemy Kolchinsky, A Novel Approach to the Partial Information Decomposition, Entropy, 2022. link
For basic usage, see simpledemo.py
. The code expects a joint distribution over sources and target to be passed in dit
format.
This code requires the latest versions of dit and pypoman libraries to be installed, e.g., via
pip3 install --upgrade dit pypoman
Note that on an Apple M1, the following sequence of commands may be necessary to install pypoman
(assuming MacBrew is working):
brew install gmp
brew install suite-sparse
CFLAGS=-I/opt/homebrew/include/ LDFLAGS=-L/opt/homebrew/lib pip3 install --upgrade pypoman