Installation#
mvtsa requires Python 3.10 or newer and depends on NumPy, SciPy, pandas,
scikit-learn, matplotlib and NetworkX.
pip install mvtsa
Optional extras#
pip install "mvtsa[fast]" # numba: compiled dynamic-programming kernels (DTW and relatives)
pip install "mvtsa[mlops]" # MLflow mirroring of the experiment tracker, YAML configurations
pip install "mvtsa[interop]" # ruptures and stumpy, for comparison and conversion
pip install "mvtsa[all]" # all of the above
pip install "mvtsa[dev]" # everything, plus pytest, ruff, build and twine
Without numba every kernel runs in pure Python with identical results (set
MVTSA_DISABLE_NUMBA=1 to force this). The UEA & UCR collections other than
the three bundled ones are downloaded on first use into ~/mvtsa_data (or the
directory in MVTSA_DATA).
From source#
git clone https://github.com/ComplexSystemsIntelligence/mvtsa.git
cd mvtsa
pip install -e ".[dev]"
pytest
Building the documentation and the book#
python docs/build_api_pages.py
sphinx-build -b html docs docs/_build/html # executes every gallery example
book/build.sh # needs TeX Live with latexmk, biber and
# the raleway, plex and libertinus packages