The book#
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#
Introduction: three questions about multivariate time series, two decades of methods, the package, a first session
Foundations: series and collections, segmentations as partitions, costs and searches, warping paths, PCA models and their statistics
Representations: piecewise and symbolic approximations, qualitative episodes, features and signatures, networks and images, matrix profiles
Cost-based segmentation: costs, search strategies, the merge hierarchy, the number of segments
Latent-variable segmentation: PCA and dynamic PCA, recursive PCA on line, fuzzy segmentation, Fisher information and experiment design
Probabilistic, profile-based and state segmentation: BOCPD, HMMs, sparse Gaussian states, ClaSP and FLUSS, predictive homogeneity, consensus, streams
Elastic similarity: DTW and its constraints, variants, edit and kernel measures, soft-DTW, averaging, diagnostics and learning
Correlation-based and segment-level warping: CBDTW, dynamic-PCA CBDTW, Riemannian and mixed segment distances, MPLA/SPLA/MDPLA, episode alignment
Clustering: partitional and relational methods, hierarchies and maps, features, segments and trajectories
Evaluation and validation: segmentation and clustering metrics, retrieval, stability, statistical comparison, tuning
Visualization and explanation: dashboards, contributions, rules, transition networks, visibility graphs
Model operations: configurations, pipelines, registries, tracking, contracts, drift monitoring, model cards
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.