:orphan:
Example gallery
===============
Every example generates or loads its own data -- synthetic series whose
segments, regimes, classes or warpings are known, simulated chemical
processes (a pH neutralization reactor and the methyl methacrylate
polymerization reactor), and three real collections of the UEA & UCR
archives -- explains the method, draws the result and ends with a short
study of the main parameter. The same scripts produce the figures of the
book; the code printed in the book is extracted from them.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. thumbnail-parent-div-close
.. raw:: html
First steps: series, segmentations, representations, PCA models
---------------------------------------------------------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_01_first_steps_thumb.png
:alt:
:doc:`/auto_examples/01_basics/plot_01_first_steps`
.. raw:: html
First steps: segment, look, evaluate
.. raw:: html
.. only:: html
.. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_02_representations_thumb.png
:alt:
:doc:`/auto_examples/01_basics/plot_02_representations`
.. raw:: html
Representations: PAA, PLA, SAX, episodes
.. raw:: html
.. only:: html
.. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_03_pca_models_thumb.png
:alt:
:doc:`/auto_examples/01_basics/plot_03_pca_models`
.. raw:: html
PCA models: T², Q and similarity factors
.. thumbnail-parent-div-close
.. raw:: html
Cost-based segmentation: costs, search strategies, number of segments
---------------------------------------------------------------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/02_cost_segmentation/images/thumb/sphx_glr_plot_01_costs_and_search_thumb.png
:alt:
:doc:`/auto_examples/02_cost_segmentation/plot_01_costs_and_search`
.. raw:: html
Costs and search strategies
.. raw:: html
.. only:: html
.. image:: /auto_examples/02_cost_segmentation/images/thumb/sphx_glr_plot_02_segmentogram_thumb.png
:alt:
:doc:`/auto_examples/02_cost_segmentation/plot_02_segmentogram`
.. raw:: html
The merge hierarchy: segmentogram and persistence
.. raw:: html
.. only:: html
.. image:: /auto_examples/02_cost_segmentation/images/thumb/sphx_glr_plot_03_number_of_segments_thumb.png
:alt:
:doc:`/auto_examples/02_cost_segmentation/plot_03_number_of_segments`
.. raw:: html
How many segments?
.. thumbnail-parent-div-close
.. raw:: html
Latent-variable segmentation: PCA, dynamic PCA, recursive PCA, fuzzy and Fisher segmentation
--------------------------------------------------------------------------------------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_latent_segmentation/images/thumb/sphx_glr_plot_01_pca_t2_q_thumb.png
:alt:
:doc:`/auto_examples/03_latent_segmentation/plot_01_pca_t2_q`
.. raw:: html
PCA segmentation with the T² and Q statistics
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_latent_segmentation/images/thumb/sphx_glr_plot_02_dynamic_pca_thumb.png
:alt:
:doc:`/auto_examples/03_latent_segmentation/plot_02_dynamic_pca`
.. raw:: html
Dynamic PCA segmentation
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_latent_segmentation/images/thumb/sphx_glr_plot_03_recursive_pca_thumb.png
:alt:
:doc:`/auto_examples/03_latent_segmentation/plot_03_recursive_pca`
.. raw:: html
On-line segmentation with recursive PCA
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_latent_segmentation/images/thumb/sphx_glr_plot_04_fuzzy_segmentation_thumb.png
:alt:
:doc:`/auto_examples/03_latent_segmentation/plot_04_fuzzy_segmentation`
.. raw:: html
Fuzzy segmentation with the modified Gath--Geva algorithm
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_latent_segmentation/images/thumb/sphx_glr_plot_05_fisher_mma_thumb.png
:alt:
:doc:`/auto_examples/03_latent_segmentation/plot_05_fisher_mma`
.. raw:: html
Informative segments for parameter estimation (MMA polymerization)
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_latent_segmentation/images/thumb/sphx_glr_plot_06_energy_regression_thumb.png
:alt:
:doc:`/auto_examples/03_latent_segmentation/plot_06_energy_regression`
.. raw:: html
Operating ranges of an energy indicator
.. thumbnail-parent-div-close
.. raw:: html
Probabilistic, profile-based and state-based segmentation
---------------------------------------------------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/04_modern_segmentation/images/thumb/sphx_glr_plot_01_bocpd_thumb.png
:alt:
:doc:`/auto_examples/04_modern_segmentation/plot_01_bocpd`
.. raw:: html
Bayesian on-line change point detection
.. raw:: html
.. only:: html
.. image:: /auto_examples/04_modern_segmentation/images/thumb/sphx_glr_plot_02_states_thumb.png
:alt:
:doc:`/auto_examples/04_modern_segmentation/plot_02_states`
.. raw:: html
Recurring operating states
.. raw:: html
.. only:: html
.. image:: /auto_examples/04_modern_segmentation/images/thumb/sphx_glr_plot_03_clasp_fluss_thumb.png
:alt:
:doc:`/auto_examples/04_modern_segmentation/plot_03_clasp_fluss`
.. raw:: html
Shape changes: ClaSP and FLUSS
.. raw:: html
.. only:: html
.. image:: /auto_examples/04_modern_segmentation/images/thumb/sphx_glr_plot_04_predictive_thumb.png
:alt:
:doc:`/auto_examples/04_modern_segmentation/plot_04_predictive`
.. raw:: html
Predictive homogeneity with any scikit-learn model
.. raw:: html
.. only:: html
.. image:: /auto_examples/04_modern_segmentation/images/thumb/sphx_glr_plot_05_consensus_thumb.png
:alt:
:doc:`/auto_examples/04_modern_segmentation/plot_05_consensus`
.. raw:: html
Consensus of segmentations
.. raw:: html
.. only:: html
.. image:: /auto_examples/04_modern_segmentation/images/thumb/sphx_glr_plot_06_streaming_thumb.png
:alt:
:doc:`/auto_examples/04_modern_segmentation/plot_06_streaming`
.. raw:: html
Segmentation of a data stream
.. thumbnail-parent-div-close
.. raw:: html
Elastic similarity: DTW and its relatives
-----------------------------------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/05_warping/images/thumb/sphx_glr_plot_01_dtw_basics_thumb.png
:alt:
:doc:`/auto_examples/05_warping/plot_01_dtw_basics`
.. raw:: html
Dynamic time warping and global constraints
.. raw:: html
.. only:: html
.. image:: /auto_examples/05_warping/images/thumb/sphx_glr_plot_02_dtw_variants_thumb.png
:alt:
:doc:`/auto_examples/05_warping/plot_02_dtw_variants`
.. raw:: html
A family of elastic measures on Cylinder--Bell--Funnel
.. raw:: html
.. only:: html
.. image:: /auto_examples/05_warping/images/thumb/sphx_glr_plot_03_soft_dtw_thumb.png
:alt:
:doc:`/auto_examples/05_warping/plot_03_soft_dtw`
.. raw:: html
Soft-DTW: a differentiable alignment and its uncertainty
.. raw:: html
.. only:: html
.. image:: /auto_examples/05_warping/images/thumb/sphx_glr_plot_04_diagnostics_learning_thumb.png
:alt:
:doc:`/auto_examples/05_warping/plot_04_diagnostics_learning`
.. raw:: html
Diagnosing and tuning warping
.. thumbnail-parent-div-close
.. raw:: html
Correlation-based and segment-level warping
-------------------------------------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_correlation_warping/images/thumb/sphx_glr_plot_01_cbdtw_signatures_thumb.png
:alt:
:doc:`/auto_examples/06_correlation_warping/plot_01_cbdtw_signatures`
.. raw:: html
Correlation-based dynamic time warping
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_correlation_warping/images/thumb/sphx_glr_plot_02_correlation_sequences_thumb.png
:alt:
:doc:`/auto_examples/06_correlation_warping/plot_02_correlation_sequences`
.. raw:: html
When the information is in the correlation structure
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_correlation_warping/images/thumb/sphx_glr_plot_03_dynamic_cbdtw_thumb.png
:alt:
:doc:`/auto_examples/06_correlation_warping/plot_03_dynamic_cbdtw`
.. raw:: html
Process-dynamics-aware warping: DPCA-CBDTW
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_correlation_warping/images/thumb/sphx_glr_plot_04_japanese_vowels_thumb.png
:alt:
:doc:`/auto_examples/06_correlation_warping/plot_04_japanese_vowels`
.. raw:: html
Real data: Japanese vowels and Riemannian local distances
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_correlation_warping/images/thumb/sphx_glr_plot_05_pla_mdpla_thumb.png
:alt:
:doc:`/auto_examples/06_correlation_warping/plot_05_pla_mdpla`
.. raw:: html
Piecewise linear warping: MPLA, SPLA and MDPLA
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_correlation_warping/images/thumb/sphx_glr_plot_06_mixed_segments_thumb.png
:alt:
:doc:`/auto_examples/06_correlation_warping/plot_06_mixed_segments`
.. raw:: html
A multivariate mixed segment distance
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_correlation_warping/images/thumb/sphx_glr_plot_07_episodes_thumb.png
:alt:
:doc:`/auto_examples/06_correlation_warping/plot_07_episodes`
.. raw:: html
Comparing qualitative trends: episode alignment
.. thumbnail-parent-div-close
.. raw:: html
Clustering time series, segments and trajectories
-------------------------------------------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/07_clustering/images/thumb/sphx_glr_plot_01_partitional_thumb.png
:alt:
:doc:`/auto_examples/07_clustering/plot_01_partitional`
.. raw:: html
Partitional clustering: k-means, k-Shape, k-medoids
.. raw:: html
.. only:: html
.. image:: /auto_examples/07_clustering/images/thumb/sphx_glr_plot_02_hierarchical_maps_thumb.png
:alt:
:doc:`/auto_examples/07_clustering/plot_02_hierarchical_maps`
.. raw:: html
Hierarchical clustering and distance maps
.. raw:: html
.. only:: html
.. image:: /auto_examples/07_clustering/images/thumb/sphx_glr_plot_03_basic_motions_thumb.png
:alt:
:doc:`/auto_examples/07_clustering/plot_03_basic_motions`
.. raw:: html
Clustering multivariate recordings: BasicMotions
.. raw:: html
.. only:: html
.. image:: /auto_examples/07_clustering/images/thumb/sphx_glr_plot_04_segment_clustering_thumb.png
:alt:
:doc:`/auto_examples/07_clustering/plot_04_segment_clustering`
.. raw:: html
Clustering segments: recurring patterns across series
.. raw:: html
.. only:: html
.. image:: /auto_examples/07_clustering/images/thumb/sphx_glr_plot_05_trajectories_thumb.png
:alt:
:doc:`/auto_examples/07_clustering/plot_05_trajectories`
.. raw:: html
Objects that move together: trajectory clustering
.. thumbnail-parent-div-close
.. raw:: html
Evaluation, validation and benchmarking
---------------------------------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/08_evaluation/images/thumb/sphx_glr_plot_01_metrics_thumb.png
:alt:
:doc:`/auto_examples/08_evaluation/plot_01_metrics`
.. raw:: html
Measuring segmentation quality
.. raw:: html
.. only:: html
.. image:: /auto_examples/08_evaluation/images/thumb/sphx_glr_plot_02_stability_thumb.png
:alt:
:doc:`/auto_examples/08_evaluation/plot_02_stability`
.. raw:: html
Is the segmentation stable?
.. raw:: html
.. only:: html
.. image:: /auto_examples/08_evaluation/images/thumb/sphx_glr_plot_03_benchmark_thumb.png
:alt:
:doc:`/auto_examples/08_evaluation/plot_03_benchmark`
.. raw:: html
Benchmarking segmenters with statistical tests
.. raw:: html
.. only:: html
.. image:: /auto_examples/08_evaluation/images/thumb/sphx_glr_plot_04_tuning_thumb.png
:alt:
:doc:`/auto_examples/08_evaluation/plot_04_tuning`
.. raw:: html
Tuning segmenter parameters
.. thumbnail-parent-div-close
.. raw:: html
Visualization and interpretation
--------------------------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/09_visualization/images/thumb/sphx_glr_plot_01_dashboard_thumb.png
:alt:
:doc:`/auto_examples/09_visualization/plot_01_dashboard`
.. raw:: html
A one-page segmentation report
.. raw:: html
.. only:: html
.. image:: /auto_examples/09_visualization/images/thumb/sphx_glr_plot_02_visibility_graphs_thumb.png
:alt:
:doc:`/auto_examples/09_visualization/plot_02_visibility_graphs`
.. raw:: html
Six-sigma visibility graphs
.. raw:: html
.. only:: html
.. image:: /auto_examples/09_visualization/images/thumb/sphx_glr_plot_03_recurrence_images_thumb.png
:alt:
:doc:`/auto_examples/09_visualization/plot_03_recurrence_images`
.. raw:: html
Series as images and networks
.. raw:: html
.. only:: html
.. image:: /auto_examples/09_visualization/images/thumb/sphx_glr_plot_04_warping_maps_thumb.png
:alt:
:doc:`/auto_examples/09_visualization/plot_04_warping_maps`
.. raw:: html
Looking inside alignments and collections
.. thumbnail-parent-div-close
.. raw:: html
Reproducible analyses and model operations
------------------------------------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/10_mlops/images/thumb/sphx_glr_plot_01_pipeline_registry_thumb.png
:alt:
:doc:`/auto_examples/10_mlops/plot_01_pipeline_registry`
.. raw:: html
From analysis to a deployable model
.. raw:: html
.. only:: html
.. image:: /auto_examples/10_mlops/images/thumb/sphx_glr_plot_02_drift_monitoring_thumb.png
:alt:
:doc:`/auto_examples/10_mlops/plot_02_drift_monitoring`
.. raw:: html
Monitoring a deployed model for drift
.. raw:: html
.. only:: html
.. image:: /auto_examples/10_mlops/images/thumb/sphx_glr_plot_03_tracking_cards_thumb.png
:alt:
:doc:`/auto_examples/10_mlops/plot_03_tracking_cards`
.. raw:: html
Experiment tracking and model cards
.. thumbnail-parent-div-close
.. raw:: html
Case studies
------------
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/11_applications/images/thumb/sphx_glr_plot_01_polymer_grades_thumb.png
:alt:
:doc:`/auto_examples/11_applications/plot_01_polymer_grades`
.. raw:: html
Grade transitions of a polymerization reactor
.. raw:: html
.. only:: html
.. image:: /auto_examples/11_applications/images/thumb/sphx_glr_plot_02_ph_process_thumb.png
:alt:
:doc:`/auto_examples/11_applications/plot_02_ph_process`
.. raw:: html
Operating regions of a pH neutralization process
.. raw:: html
.. only:: html
.. image:: /auto_examples/11_applications/images/thumb/sphx_glr_plot_03_regime_explanation_thumb.png
:alt:
:doc:`/auto_examples/11_applications/plot_03_regime_explanation`
.. raw:: html
Explaining operating regimes
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
:includehidden:
/auto_examples/01_basics/index.rst
/auto_examples/02_cost_segmentation/index.rst
/auto_examples/03_latent_segmentation/index.rst
/auto_examples/04_modern_segmentation/index.rst
/auto_examples/05_warping/index.rst
/auto_examples/06_correlation_warping/index.rst
/auto_examples/07_clustering/index.rst
/auto_examples/08_evaluation/index.rst
/auto_examples/09_visualization/index.rst
/auto_examples/10_mlops/index.rst
/auto_examples/11_applications/index.rst
.. only:: html
.. container:: sphx-glr-footer sphx-glr-footer-gallery
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: auto_examples_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_