mvtsa.segmentation.SWAB#

class mvtsa.segmentation.SWAB(cost='linear', max_error=1.0, buffer_size=100, min_size=None, cost_params=None)[source]#

Bases: BaseSegmenter

Sliding Window And Bottom-up (Keogh et al., 2001): bottom-up segmentation inside a moving buffer, emitting the leftmost segment.

Parameters:
cost, max_error, cost_params

As in SlidingWindow; max_error bounds every segment.

buffer_sizeint

Number of samples in the buffer (about five to six segments).