Skip to main content

Compact implementation of basic operations in the tensor-train (TT) format, including TT-SVD, TT-ALS, TT-ANOVA, TT-CROSS, TT-truncate for approximation of multidimensional arrays and multivariate functions

Project description

teneva

Description

This python package, named teneva (tensor evaluation), provides a very compact implementation of basic operations in the tensor-train (TT) format, including TT-SVD, TT-ALS, TT-ANOVA, TT-cross, TT-truncate, "add", "mul", "norm", "mean", Chebyshev interpolation, etc. This approach can be used for approximation of multidimensional arrays and multivariate functions, as well as for efficient implementation of various operations of linear algebra in the low rank format. The program code is organized within a functional paradigm and it is very easy to learn and use.

Installation

Current version "0.11.7".

The package can be installed via pip: pip install teneva (it requires the Python programming language of the version >= 3.6). It can be also downloaded from the repository teneva and installed by python setup.py install command from the root folder of the project. Required python packages numpy, scipy, numba and matplotlib will be automatically installed during the installation of the main software product.

Documentation and examples

  • See detailed online documentation for a description of each function and numerical examples.
  • See the jupyter notebooks in the ./demo folder with brief description and demonstration of the capabilities of each function from the teneva package, including the basic examples of using the TT-ALS, TT-ANOVA and TT-cross for approximation of the multivariable functions. Note that all examples from this folder are also presented in the online documentation.

Authors

✭ The stars that you give to teneva, motivate us to develop faster and add new interesting features to the code 😃

Citation

If you find our approach and/or code useful in your research, please consider citing:

@article{chertkov2022black,
    author    = {Chertkov, Andrei and Ryzhakov, Gleb and Oseledets, Ivan},
    year      = {2022},
    title     = {Black box approximation in the tensor train format initialized by ANOVA decomposition},
    journal   = {arXiv preprint arXiv:2208.03380},
    doi       = {10.48550/ARXIV.2208.03380},
    url       = {https://arxiv.org/abs/2208.03380}
}

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

teneva-0.11.7.tar.gz (20.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teneva-0.11.7-py3-none-any.whl (74.5 kB view details)

Uploaded Python 3

File details

Details for the file teneva-0.11.7.tar.gz.

File metadata

  • Download URL: teneva-0.11.7.tar.gz
  • Upload date:
  • Size: 20.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.11.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.8

File hashes

Hashes for teneva-0.11.7.tar.gz
Algorithm Hash digest
SHA256 c1b7902302f16d9f0d0aae52802605ba3fdf9bc1be61240dae350b16f47e2da7
MD5 6bf66f4e5b9640a778e0f0ed5ed5845e
BLAKE2b-256 6c1accaf7c70690ab76572d65bd75ccca69f3ddbeb9263503557f2c07aa13b63

See more details on using hashes here.

File details

Details for the file teneva-0.11.7-py3-none-any.whl.

File metadata

  • Download URL: teneva-0.11.7-py3-none-any.whl
  • Upload date:
  • Size: 74.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.11.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.8

File hashes

Hashes for teneva-0.11.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ea439967d9e5dc8a633e52baaa58d1be8da6889759ad78c0850f30ee3ea3e1a1
MD5 e5bdf715569b294b5e7147cc90b64f9a
BLAKE2b-256 c6057c5f4d36dfe8d95c831d34a68716245ac4a5a9881bcc24df0eb3c9fb8649

See more details on using hashes here.

Supported by

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