TensorLy is a fast and simple Python library for tensor learning. It builds on top of NumPy, SciPy and MXNet and allows for fast and straightforward tensor decomposition, tensor learning and tensor algebra.
- Website: http://tensorly.github.io
- Source: https://github.com/tensorly/tensorly
- Jupyter Notebooks: https://github.com/JeanKossaifi/tensorly-notebooks
Simply run:
pip install -U tensorly
That's it!
Alternatively, you can pip install from the git repository:
pip install git+https://github.com/tensorly/tensorly
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 .
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