Tensor learning in Python.
TensorLy is a fast and simple Python library for tensor learning. It builds on top of NumPy and SciPy and and allows for fast and straightforward tensor decomposition, tensor learning and tensor algebra.
How to install
Easy option: install with pip
pip install -U tensorly
Alternatively, you can pip install from the git repository:
pip install git+https://github.com/tensorly/tensorly
Development: install from git
The library is still very new and under heavy developement. To install the last version:
Clone the repository and cd there:
git clone https://github.com/tensorly/tensorly cd tensorly
Then install the package (here in editable mode with -e or equivalently –editable):
pip install -e .
Running the tests
Testing and documentation are an essential part of this package and all functions come with uni-tests and documentation.
You can run all the tests using the nose package:
nosetests -v tensorly
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Hash SHA256 Hash Help||Version||File Type||Upload Date|
(49.8 kB) Copy SHA256 Hash SHA256
|py3||Wheel||Aug 22, 2017|
(30.0 kB) Copy SHA256 Hash SHA256
|–||Source||Aug 22, 2017|