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.12.9".

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}
}
@article{chertkov2022optimization,
    author    = {Chertkov, Andrei and Ryzhakov, Gleb and Novikov, Georgii and Oseledets, Ivan},
    year      = {2022},
    title     = {Optimization of functions given in the tensor train format},
    journal   = {arXiv preprint arXiv:2209.14808},
    doi       = {10.48550/ARXIV.2209.14808},
    url       = {https://arxiv.org/abs/2209.14808}
}

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.12.9.tar.gz (21.4 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.12.9-py3-none-any.whl (82.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: teneva-0.12.9.tar.gz
  • Upload date:
  • Size: 21.4 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.28.2 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.8

File hashes

Hashes for teneva-0.12.9.tar.gz
Algorithm Hash digest
SHA256 5376a06018e267d28aac5ed1065a66124f2edda403a2fb299536e2b412accb0c
MD5 3af6bbf4678d4a426825402b2efc1d8c
BLAKE2b-256 8522cc15e11d96d56b079f4659d884f4276d3a23d50f5436b190d38a54c4dd9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: teneva-0.12.9-py3-none-any.whl
  • Upload date:
  • Size: 82.1 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.28.2 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.8

File hashes

Hashes for teneva-0.12.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d6c9b9f3c1346dfdf08c7d515a1a7a58a035bc8ee7019e49c36abc057356dfbf
MD5 0f259312263e2d07a4caf0a4602a339f
BLAKE2b-256 f2941c1c1508e1b67b1503859f121d5dc5ac8651009ea95bf8ba0954430731da

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