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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: automutualinformation-0.1.5.tar.gz
  • Upload date:
  • Size: 8.4 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.5.tar.gz
Algorithm Hash digest
SHA256 477d1d155786db2ddf20fa5198b7905f3b1de2deb046fb1f0c6776f4d6290073
MD5 b8003ea3860612564ca0888d5d0a59c8
BLAKE2b-256 a8bce6139310156ef421e74bbd2bab9ce78d53f2de57a9d6be790fade3a585d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: automutualinformation-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 107d0c5a3b3e37f859518479f8d02a9c2ef39fc74c70bad1acad8e0bfc03b7de
MD5 c424ccd87698fe6941a85330916b163d
BLAKE2b-256 72fe50096fad687f7b73346896b4b3f29060548f7773af13c155e5936a7ad302

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