Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Higher Order Tensors ToolBOX

Project description

Travis Appveyor Coveralls PyPi Binder

Welcome to the toolbox for tensor decompositions, statistical analysis, visualisation, feature extraction, regression and non-linear classification of multi-dimensional data. Not sure you need this toolbox? Give it a try on mybinder.org without installation.

Installing HOTTBOX

There are two options available:

  1. Install hottbox as it is from pypi.org by executing:

    # Create virtual environment based on python 3.7
    pipenv --python 3.7
    
    # Install hottbox from pypi
    pipenv install hottbox
    
  2. Alternatively, you can clone the source code which you can find on our GitHub repository and install hottbox in editable mode:

    # Clone source code and cd into it
    git clone https://github.com/hottbox/hottbox.git
    cd hottbox
    
    # Create virtual environment based on python 3.7
    pipenv --python 3.7
    
    # Install hottbox from source
    pipenv install -e .
    

    This will allow you to modify the source code in the way it will suit your needs. Additionally, you will be on top of the latest changes and will be able to start using new stable features which are located on develop branch until the official release. The list of provisional changes for the next release (and the CI status) can be also be found on develop branch in CHANGELOG file.

    NOTE: To manage working environment, we use pipenv. This tools is thought of as a successor of pip and essentially uses pip and virtualenv under the hood. If you haven’t made a switch yet (or don’t want to) then:

    • Instead of pipenv install simply use pip install
    • Instead of pipenv run ... make sure that you are in correct virtual environment

Running tests

hottbox is under active development, therefore, if you have chosen the second installation option, it is advisable to run tests in order to make sure that your current version of hottbox is stable. First, you will need to install pytest and pytest-cov packages:

pipenv install -e '[.tests]'

To run tests, simply execute inside the main directory:

# Runs pytest within a virtual environment
pipenv run pytest -v --cov hottbox

HOTTBOX tutorials

Please check out our repository with tutorials on hottbox api and theoretical background on multi-linear algebra and tensor decompositions.

Development

We welcome new contributors of all experience levels. Detailed guidelines can be found on our web site.

Project details


Download files

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

Files for hottbox, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size hottbox-0.3.2-py3-none-any.whl (113.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hottbox-0.3.2.tar.gz (86.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page