Back to models
Detector

WindowSegmenter

Window-based Time Series Segmentation via Clustering.

Quickstart

python
from sktime.detection.wclust import WindowSegmenter

estimator = WindowSegmenter(clusterer=None, window_size=1, overlap=False, step_size=1, return_segments=True)

Parameters(5)

clusterersktime clusterer, BaseClusterer instance
The instance of clustering algorithm used for segmentation.
window_sizeInteger
The size of the Sliding Window
overlapBoolean, default=False
If True, overlapping windows are used.
step_sizeInteger, default=1
The step size for the sliding window.
return_segmentsBoolean, default=True
If True, returns the segments with the labels. If False, returns the labels for each time point.