View on GitHub


Non-linear correlation detection with mutual information


In brief

ennemi is a Python 3 package for estimating mutual information and other information-theoretic measures of continuous variables. These measures can be used for non-linear correlation analysis. The package is designed for practical data analysis with no theoretical background required.


ennemi is maintained by Petri Laarne (@polsys) and was initially developed at Institute for Atmospheric and Earth System Research (INAR), University of Helsinki. The package is published under the MIT License.

Documentation topics


This package is available on PyPI:

pip install ennemi


If you use this software in scientific work, please consider mentioning the exact version number for reproducibility. Versions are citable and archived on Zenodo (doi:10.5281/zenodo.3834018).

This package is described in the following articles:

Several research groups have already published papers that cite ennemi. We hope that you find the package useful for your work!