Skip to main content

TME

Python implementation of Tensor Maximum Entropy (TME)

Install:

pip install tensor-maximum-entropy

Usage example:

import numpy as np
import scipy.io
from tensor_maximum_entropy import TME

model_dim = 10

data = scipy.io.loadmat('./exampleData.mat')
dataTensor = data['dataTensor']

print(dataTensor.shape)
t = data['t']

mask = np.logical_and(t > - 50, t < 350)
TME(dataTensor, mask, model_dim)

The algorithm description can be found in the following article:

Elsayed, G.F.; Cunningham, J.P. Structure in Neural Population Recordings: An Expected Byproduct of Simpler Phenomena? Nat Neurosci 2017, 20, 1310–1318, doi:10.1038/nn.4617.

A matlab implementation can be found at the following link: https://github.com/gamaleldin/TME

Metadata

Release files for tensor-maximum-entropy 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tensor-maximum-entropy 0.0.2
File Size Uploaded
tensor_maximum_entropy-0.0.2.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tensor-maximum-entropy 0.0.2
File Interpreter ABI Platform
tensor_maximum_entropy-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.9 kB

Release files / tensor_maximum_entropy-0.0.2.tar.gz

Download URL tensor_maximum_entropy-0.0.2.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
538baaf9779112bf6a04eadc20ca08c9fc1e32938265ecc91515c10cb834d76c
BLAKE2b-256 checksum
How to use checksums
a6f466debba698d272616597adeeffa189dae5ebe489ea306fc112094de34ec4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release files / tensor_maximum_entropy-0.0.2-py3-none-any.whl

Download URL tensor_maximum_entropy-0.0.2-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
deb27f1b3c6a41172f4ef38b9490fff22e162bafcd43c992f699f55aaf20d027
BLAKE2b-256 checksum
How to use checksums
af6067b76eb65f5e7b23e10015f16caaf946066abd7f081aca939d5f3bdd8e7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page