mvtsa.segmentation.CUSUMDetector#
- class mvtsa.segmentation.CUSUMDetector(k=0.5, h=20.0, warmup=50)[source]#
Bases:
objectMultivariate CUSUM change detector.
The statistic accumulates the excess of the squared Mahalanobis distance of new samples from a reference distribution, \(S_t=\max(0,S_{t-1}+m_t-n-k)\), and signals when it exceeds
h; after a signal the reference is re-estimated from the nextwarmupsamples.