Compact implementation of basic operations in the tensor-train (TT) format, including TT-SVD, TT-ALS, TT-ANOVA, TT-cross, TT-truncate, etc.
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", etc. The program code is organized within a functional paradigm and it is very easy to learn and use.
Installation
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 and numba 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 notebook
./demo.ipynb
with brief description and demonstration of the capabilities of each function from theteneva
package, including the basic examples of using the TT-ALS, TT-ANOVA and TT-cross for multidimensional function approximation.
Authors
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.