mvtsa.segmentation.SlidingWindow#

class mvtsa.segmentation.SlidingWindow(cost='linear', max_error=1.0, normalize=False, min_size=None, cost_params=None)[source]#

Bases: BaseSegmenter

Grow each segment from its start until its cost exceeds max_error (Keogh et al., 2001); suitable for streaming data.

Parameters:
coststr or cost object
max_errorfloat

Bound of the cost of a segment.

normalizebool

Compare the mean cost per sample with max_error.