Skip to main content

Software implementation for tensor-tensor m-product framework

Project description

mprod_package

Build and test [Python 3.6, 3.7, 3.8, 3.9] Documentation Status

Software implementation for tensor-tensor m-product framework [1]. The library currently contains tubal QR and tSVDM decompositions, and the TCAM method for dimensionality reduction.

Installation

using pip

The package is available at pypi and can be installed via the command

pip install mprod-package 

from source

Make sure that all dependencies listed below are installed in a newly created conda environment, preferably - using the conda-forge channel.

We stated the exact versions used to locally test the code, more recent versions of these packages should work as well.

Dependencies:

  • python 3.6.8
  • scipy 1.5.3
  • scikit-learn 0.24.1
  • numpy 1.19.2
  • dataclasses 0.7 (Only for python version < 3.7)
  • pip 21.0.1

Clone the repository, then from the package directory, run

pip install -e .

References

[1] Misha E. Kilmer, Lior Horesh, Haim Avron, and Elizabeth Newman. Tensor-tensor algebra for optimal representation and compression of multiway data. Proceedings of the National Academy of Sciences, 118(28):e2015851118, jul 2021.

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

mprod-package-0.0.2a1.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

mprod_package-0.0.2a1-py3-none-any.whl (25.5 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