The book#

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

Segmentation, Warping and Clustering of Multivariate Time Series in Python: The mvtsa toolbox is the companion book of the package. It develops the methods in one notation, states every algorithm in a box, and illustrates each method with the scripts of the example gallery, so the book, the documentation and the code show the same results. The book is published under the CC BY 4.0 license: read it online, or download the PDF or the EPUB edition.

Contents#

  1. Introduction: three questions about multivariate time series, two decades of methods, the package, a first session

  2. Foundations: series and collections, segmentations as partitions, costs and searches, warping paths, PCA models and their statistics

  3. Representations: piecewise and symbolic approximations, qualitative episodes, features and signatures, networks and images, matrix profiles

  4. Cost-based segmentation: costs, search strategies, the merge hierarchy, the number of segments

  5. Latent-variable segmentation: PCA and dynamic PCA, recursive PCA on line, fuzzy segmentation, Fisher information and experiment design

  6. Probabilistic, profile-based and state segmentation: BOCPD, HMMs, sparse Gaussian states, ClaSP and FLUSS, predictive homogeneity, consensus, streams

  7. Elastic similarity: DTW and its constraints, variants, edit and kernel measures, soft-DTW, averaging, diagnostics and learning

  8. Correlation-based and segment-level warping: CBDTW, dynamic-PCA CBDTW, Riemannian and mixed segment distances, MPLA/SPLA/MDPLA, episode alignment

  9. Clustering: partitional and relational methods, hierarchies and maps, features, segments and trajectories

  10. Evaluation and validation: segmentation and clustering metrics, retrieval, stability, statistical comparison, tuning

  11. Visualization and explanation: dashboards, contributions, rules, transition networks, visibility graphs

  12. Model operations: configurations, pipelines, registries, tracking, contracts, drift monitoring, model cards

  13. Case studies: polymer grade transitions, a pH neutralization process, operating regimes

Appendices: API reference, catalogue of the example scripts, method index and migration from the MATLAB toolboxes.