Skip to content

Putting GaelVaroquaux's mutual_info gist in a project until it has a better home.

License

Notifications You must be signed in to change notification settings

cmista/mutual_info

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mutual Information

reeeeeedme

Estimating differential entropy and mutual information. See also the limiting density of discrete points as to why the original description of differential entropy is not even dimensinoally correct.

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 (radial density) statistics.

Differential Entropy

TODO: equation 3 and 9 from 2008 nips paper

Mention dimensionality problems.

Mutual Information

...

Install

python setup.py install

or

pip install pypi

Development

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.

Develop install

python setup.py develop

Tests

make test

TODO

  • incorporate fixes from @thismartian (see thismartian branch)
  • entropy tests/properties:
    • monotonically decreasing in p?
  • mutual infomation tests/properties
    • triangle inequality

About

Putting GaelVaroquaux's mutual_info gist in a project until it has a better home.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.0%
  • Makefile 3.1%
  • Shell 2.9%