Skip to main content

Auto Mutual Information (Sequential Mutual Information) for temporal data.

Project description

CI

Auto Mutual Information

Auto Mutual Information (Sequential Mutual Information) for temporal data.

Auto mutual information can be treated as the equivalent of autocorrelation for symbolic data.

Installation

The python package is installable via pip.

pip install automutualinformation

Quick Start

from automutualinformation import sequential_mutual_information as smi
(MI, MI_var), (shuff_MI, shuff_MI_var) = smi(
    [signal], distances=np.arange(1,100)
)

Run an example notebook in Colab:

Open In Colab

Documentation

Documentation and usage information is currently available in jupyter notebooks in the notebooks folder.

Citation

If you use this package, please cite the following paper:

@article {NBC2020,
    author = {Sainburg, Tim and Mai, Anna and Gentner, Timothy Q.},
    title = {Long-range sequential dependencies precede complex syntactic production in language acquisition},
    journal = {Proceedings of the Royal Society B},
    doi = {https://dx.doi.org/10.1098/rspb.2021.2657},
    year = 2022,
    }

TODO

  • make pypi package
  • create tests/travisci
  • add additional parameters example

For more info references see:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automutualinformation-0.1.5.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

automutualinformation-0.1.5-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page