Segmentation, Warping and Clustering of Multivariate Time Series in PythonThe mvtsa toolbox
Cover of Segmentation, Warping and Clustering of Multivariate Time Series in Python

Open book · version 1.0 · November 2026

Segmentation, Warping and Clustering of Multivariate Time Series in Python

The mvtsa toolbox

János Abonyi · University of Pannonia, Veszprém

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.

Start readingPDF EPUBSoftware documentation

Contents

  1. Preface
  2. 1Introduction
  3. 2Foundations
  4. 3Representations
  5. 4Cost-based segmentation
  6. 5Latent-variable segmentation
  7. 6Probabilistic, profile-based and state segmentation
  8. 7Elastic similarity
  9. 8Correlation-based and segment-level warping
  10. 9Clustering
  11. 10Evaluation and validation
  12. 11Visualization and explanation
  13. 12Model operations
  14. 13Case studies
  15. AAPI reference
  16. BThe example gallery
  17. CMethod index and migration
  18. 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.