Skip to main content

Mutual Information

reeeeeedme

Estimating differential entropy and mutual information.

Non-parametric computation of differential entropy and mutual-information. Originally adapted by G Varoquaux in a gist for code created by R Brette, itself from several papers (see in the code). These computations rely on nearest-neighbor statistics.

See Makefile for example ops.

See https://pypi.org/project/mutual-info

Do not pin packages for now. Let's surf latest and find out when things break.

Install

python setup.py install

or

pip install pypi

Develop install

python setup.py develop

Tests

make test

TODO

  • incorporate fixes from @thismartian (see thismartian branch)
  • test shift invariance of entropy (not multiplicative)
  • test triangle inequality of mutual information
  • test symmetry of mutual information
  • test scale and shift invariance of mutual information (any smooth invertible transformation)

Metadata

Release files for mutual-info 0.31

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mutual-info 0.31
File Size Uploaded
mutual_info-0.31.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mutual-info 0.31
File Interpreter ABI Platform
mutual_info-0.31-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 kB

Release files / mutual_info-0.31.tar.gz

Download URL mutual_info-0.31.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
da2a472770b2e000f294ee6aceb9f7d3065914764a6f715ba9d4215109affdf2
BLAKE2b-256 checksum
How to use checksums
5c22f9f2febe56181c155a241862d15ab8a751866d6b059f02eee9e316cea9fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.3

Release files / mutual_info-0.31-py3-none-any.whl

Download URL mutual_info-0.31-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1587960404ee40da37ff9342d5a3a6a2ed4425def82ba1c7ce4e7843f5d1f0b9
BLAKE2b-256 checksum
How to use checksums
5340dc6efa9f70c21ad67b12de25aad168f3eb69c0e688bc77c7ab7ebb3b2ba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.31 This release

2 release files

0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page