mvtsa.segmentation.SWAB#
- class mvtsa.segmentation.SWAB(cost='linear', max_error=1.0, buffer_size=100, min_size=None, cost_params=None)[source]#
Bases:
BaseSegmenterSliding 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_errorbounds every segment.- buffer_size
int Number of samples in the buffer (about five to six segments).