Skip to main content

Compact implementation of basic operations in the tensor-train (TT) format with jax framework for approximation, optimization and sampling with multidimensional arrays and multivariate functions

Project description

teneva_jax

Description

This python package, named teneva_jax (tensor evaluation with jax), provides a very compact implementation of basic operations in the low rank tensor-train (TT) format with jax framework for approximation, optimization and sampling with multidimensional arrays and multivariate functions. The program code is organized within a functional paradigm and it is very easy to learn and use. Each function has detailed documentation and various usage demos.

Please, see also our github repository teneva, which contains the basic ("numpy") version of the code.

Installation

Current version "0.1.1".

The package can be installed via pip: pip install teneva (it requires the Python programming language of the version >= 3.8). It can be also downloaded from the repository teneva_jax and installed by python setup.py install command from the root folder of the project.

Required python package "jax[cpu]" (0.4.6+) will be automatically installed during the installation of the main software product. However, it is recommended that you manually install it first.

Documentation, examples and tests

  • See detailed online documentation for a description of each function and various numerical examples for each function.
  • See the jupyter notebooks in the demo folder with brief description and demonstration of the capabilities of each function from the teneva_jax package. Note that all examples from this folder are also presented in the online documentation.

Authors

✭__🚂 The stars that you give to teneva_jax, 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{chertkov2023black,
    author    = {Chertkov, Andrei and Ryzhakov, Gleb and Oseledets, Ivan},
    year      = {2023},
    title     = {Black box approximation in the tensor train format initialized by ANOVA decomposition},
    journal   = {arXiv preprint arXiv:2208.03380 (accepted into the SIAM Journal on Scientific Computing)},
    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


Download files

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

Source Distribution

teneva_jax-0.1.1.tar.gz (73.8 kB view details)

Uploaded Source

Built Distribution

teneva_jax-0.1.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file teneva_jax-0.1.1.tar.gz.

File metadata

  • Download URL: teneva_jax-0.1.1.tar.gz
  • Upload date:
  • Size: 73.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for teneva_jax-0.1.1.tar.gz
Algorithm Hash digest
SHA256 012471dba3f4bdfbad4e7694dd13bbdbef404c6a32b52d7a6ab3953f6ae79da5
MD5 e78ef61b4c544240520a25ea9cabcffd
BLAKE2b-256 19f0cf9ad8b4790c960a279d6f7e91d4a7651581ac887de0498abdff975f53bf

See more details on using hashes here.

File details

Details for the file teneva_jax-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: teneva_jax-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for teneva_jax-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ae9c6f66919de20ab340c4f5e80960d171d72707597da1fffd799123e569273
MD5 20cb7009828451b8a2b3b0b388e8a36c
BLAKE2b-256 e62248c7065a9ce95121fd53309db51d3576b3bf51ba251f5166b26eafe8adcb

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