mvtsa.datasets.make_correlation_switching#

mvtsa.datasets.make_correlation_switching(n_segments=4, length=200, n_variables=3, n_latent=1, noise=0.05, n_states=None, min_angle_deg=45.0, random_state=None)[source]#

Segments with equal means and variances but different correlation structure: in every state the variables are driven by n_latent hidden factors through a different (random orthonormal) loading matrix, whose principal subspaces are at least min_angle_deg apart. Univariate statistics cannot see these changes; PCA-based methods can (the setting of correlation-based segmentation and warping).

Examples using mvtsa.datasets.make_correlation_switching#

First steps: segment, look, evaluate

First steps: segment, look, evaluate

PCA models: T², Q and similarity factors

PCA models: T², Q and similarity factors

The merge hierarchy: segmentogram and persistence

The merge hierarchy: segmentogram and persistence

PCA segmentation with the T² and Q statistics

PCA segmentation with the T² and Q statistics

On-line segmentation with recursive PCA

On-line segmentation with recursive PCA

Fuzzy segmentation with the modified Gath–Geva algorithm

Fuzzy segmentation with the modified Gath--Geva algorithm

Tuning segmenter parameters

Tuning segmenter parameters

Monitoring a deployed model for drift

Monitoring a deployed model for drift

Experiment tracking and model cards

Experiment tracking and model cards