changepoint_func

Protocol definition for CUSUM change-point functions.

This module defines ICusumChangepointFunc, a protocol for CUSUM-compatible statistic updaters used in generalized CUSUM pipelines.

class pysatl_cpd.algorithms.online.cusum.abstracts.changepoint_func.ICusumChangepointFunc[source]

Bases: ABC, Generic

Interface for CUSUM change-point function objects.

Implementations maintain an internal statistic updated from monitoring observations and expose the current scalar statistic value.

abstractmethod update(observation)[source]

Update the internal statistic with a new observation.

Parameters:

observation (TypeVar(DataT)) – New monitoring-space observation.

Return type:

None

abstract property value: float

Current scalar change-point statistic value.

Return type:

float

abstractmethod reset()[source]

Reset internal statistic to initial state.

Return type:

None