Skip to main content

Tucker toolbox for Riemannian optimization.

Project description

Tucker Riemopt

Python implementation of the Tucker toolbox. Package allows users to manipulate tensors in Tucker and SF-Tucker [1] formats. It also provides tools for implementing first-order optimization methods of the Riemannian optimization on the manifolds of tensors of fixed Tucker rank or fixed SF-Tucker rank. For instance, package implements a method for efficiently computing the Riemannian gradient of any smooth function via automatic differentiation.

The library is compatible with several computation frameworks, such as PyTorch and JAX, and can be easily integrated with other frameworks.

Installation

NumPy, SciPy, PyTorch and opt-einsum are required for installation. Additionally, you need to install your special computation framework (e.g. JAX).

Quick start

See examples folder to dive into tucker_riemopt basics.

  • backend notebook contains a guide, how to use different computational frameworks for both routine operations and computations requires autodiff;
  • eigenvalues notebook contains a basic guide for performing riemannian optimization on manifold of tensors of fixed multilinear rank using this package;

Documentation

Detailed information may be found here.

License

MIT License

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

tucker_riemopt-0.0.1.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

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

tucker_riemopt-0.0.1-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file tucker_riemopt-0.0.1.tar.gz.

File metadata

  • Download URL: tucker_riemopt-0.0.1.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-39-generic

File hashes

Hashes for tucker_riemopt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1fabca4f704facab6a5a5a29bf8b82a48bd08fb0e74c743b51d9ab39fd5cf455
MD5 99f48f94c89d6d723aa9316898a209ec
BLAKE2b-256 2d0e94d67c70a3753bf8ce8089e350b592463aadd95066fea72938188560a324

See more details on using hashes here.

File details

Details for the file tucker_riemopt-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tucker_riemopt-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-39-generic

File hashes

Hashes for tucker_riemopt-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df0dca4da62ad15790ab104e6e35059f3a0109f657ec04867ddaa8d0e0ba83c2
MD5 b0e0756df1b658707a7e7b4c82220914
BLAKE2b-256 113f35925dd85f5ab6d9e66d35fa707b570061e669d61407beeaeca6ff0c43af

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