Open book · version 1.0 · November 2026
Segmentation, Warping and Clustering of Multivariate Time Series in Python
The mvtsa toolbox
Process records, sensor streams and motion recordings are multivariate time series whose
meaning lies in how the variables move together. This book shows how to cut them into homogeneous segments, how to
compare them when their time axes do not agree, and how to group them — from the PCA-based, fuzzy and
correlation-based methods developed at the University of Pannonia to Bayesian change point detection, state models,
soft-DTW and k-Shape — each with the mvtsa Python package. Every figure of a computed result comes
from an example script that runs as a Jupyter notebook.
Contents
- Preface
- 1Introduction
- 2Foundations
- 3Representations
- 4Cost-based segmentation
- 5Latent-variable segmentation
- 6Probabilistic, profile-based and state segmentation
- 7Elastic similarity
- 8Correlation-based and segment-level warping
- 9Clustering
- 10Evaluation and validation
- 11Visualization and explanation
- 12Model operations
- 13Case studies
- AAPI reference
- BThe example gallery
- CMethod index and migration
- Bibliography
© 2026 János Abonyi. This book is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/): it may be copied, redistributed, and adapted for any purpose, provided the source is credited. The mvtsa software described in the book is released under the MIT License.
Software: https://github.com/ComplexSystemsIntelligence/mvtsa
Documentation: https://complexsystemsintelligence.github.io/mvtsa
Installation: pip install mvtsa
The research summarized in this book was supported by the National Research, Development and Innovation Office of Hungary (NKFIH) through the OTKA 143482 project.
This web edition is generated from the same LaTeX source as the PDF edition; equations, figures, and numbering follow the PDF. Every figure that shows a computed result was produced by an example script of the package.