Cusum
API reference for sovai.extensions.cusum
Classes
CUSUM_Detector
CUSUM_Detectorclass CUSUM_Detectordetector = CUSUM_Detector(warmup_period=20, delta=15, threshold=30)
data = [12.3, 14.5, 15.6, 16.8, 17.9, 20.2, 25.7, 30.2, 32.5, 32.9, 33.0, 32.2, 31.8, 30.5, 30.1]
pos_changes, neg_changes, change_points = detector.detect_change_points(data)
detector.plot_change_points(data, change_points, pos_changes, neg_changes)__init__()
__init__()Parameter
Type
Description
predict_next()
predict_next()Parameter
Type
Description
detect_change_points()
detect_change_points()Parameter
Type
Description
plot_change_points()
plot_change_points()Parameter
Type
Description
ProbCUSUM_Detector
ProbCUSUM_Detector__init__()
__init__()Parameter
Type
Description
predict_next()
predict_next()Parameter
Type
Description
detect_change_points()
detect_change_points()Parameter
Type
Description
plot_change_points()
plot_change_points()Parameter
Type
Description
ChartCUSUM_Detector
ChartCUSUM_Detector__init__()
__init__()Parameter
Type
Description
predict_next()
predict_next()Parameter
Type
Description
detect_change_points()
detect_change_points()Parameter
Type
Description
plot_change_points()
plot_change_points()Parameter
Type
Description
Last updated