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)
)

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.4.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

automutualinformation-0.1.4-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file automutualinformation-0.1.4.tar.gz.

File metadata

  • Download URL: automutualinformation-0.1.4.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for automutualinformation-0.1.4.tar.gz
Algorithm Hash digest
SHA256 58430d06320a89b0011978b19df75dd873905ce2640043902cd4a84976f7c770
MD5 59fc4babb3fee4bb3503e7b8893691fc
BLAKE2b-256 1d4d91d35025548f3d215d28e6931df8b68178dace900e73dadddb6ee91e4c38

See more details on using hashes here.

File details

Details for the file automutualinformation-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: automutualinformation-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for automutualinformation-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7c07de379c598709b84f6a68a816fe61d5c716d59a0585792a0eb02bbc281dba
MD5 2eafd118f12c75c83d4464fc02b13f16
BLAKE2b-256 c7fe49e4c3c33898a3fcc52178fe22833b5d0adb294ca35044e51e09e0fcd631

See more details on using hashes here.

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