mvtsa.segmentation.ConsensusSegmenter#
- class mvtsa.segmentation.ConsensusSegmenter(segmenters, bandwidth='auto', threshold=0.5, n_segments=None, weights=None)[source]#
Bases:
BaseSegmenterEnsemble segmentation by boundary agreement.
- Parameters:
- segmenters
listofsegmenters Members of the ensemble (any objects with
segment(X)).- bandwidth
floator “auto” Kernel bandwidth in samples (
"auto": 1 % of the series length, at least 3).- threshold
float Minimal agreement of a consensus change point (0.5 = majority).
- n_segments
int,optional Keep the
n_segments - 1highest peaks instead of thresholding.- weights
array,optional Member weights.
- segmenters
- Attributes: