Skip to main content

Module detection

Module detection 

Source
Expand description

Change-point and shift detection.

Algorithms for detecting process mean shifts and trend changes, covering both online (sequential surveillance) and offline (retrospective) approaches.

§Online Detection (Sequential Surveillance)

  • Cusum — Cumulative Sum chart (Page, 1954) for detecting small persistent shifts
  • Ewma — Exponentially Weighted Moving Average chart (Roberts, 1959)

§Offline Detection (Retrospective Changepoint Analysis)

  • Pelt — Pruned Exact Linear Time algorithm (Killick et al., 2012) for detecting multiple changepoints with O(n) expected complexity

§References

  • Page, E.S. (1954). “Continuous Inspection Schemes”, Biometrika 41(1/2), pp. 100-115.
  • Roberts, S.W. (1959). “Control Chart Tests Based on Geometric Moving Averages”, Technometrics 1(3), pp. 239-250.
  • Killick, R., Fearnhead, P., & Eckley, I.A. (2012). “Optimal Detection of Changepoints with a Linear Computational Cost”, JASA 107(500), pp. 1590-1598.

Structs§

Cusum
CUSUM chart parameters and state.
CusumResult
Result of CUSUM analysis for a single observation.
Ewma
EWMA chart parameters.
EwmaResult
Result of EWMA analysis for a single observation.
MultiPeltResult
Result of multivariate PELT changepoint detection.
Pelt
PELT changepoint detector.
PeltResult
Result of PELT changepoint detection.

Enums§

CostFunction
Cost function for evaluating segment homogeneity.
Penalty
Penalty selection for the PELT algorithm.