mvtsa.segmentation.SparseGaussianStateSegmenter#
- class mvtsa.segmentation.SparseGaussianStateSegmenter(n_states=3, window=3, alpha=0.05, beta=50.0, max_iter=10, random_state=0)[source]#
Bases:
BaseSegmenterTICC-style state detection with sparse Gaussian window models.
Every sample
tis represented by the stacked window \([x_{t-w+1},\dots,x_t]\); every state is a Gaussian whose precision matrix is estimated by the graphical lasso (Friedman, Hastie and Tibshirani, 2008), which exposes the conditional dependencies of the variables across the window. States are assigned by dynamic programming with a penaltybetafor every switch (Hallac et al., 2017), and the models are re-estimated until the assignment is stable.