mvtsa.segmentation.PELT#

class mvtsa.segmentation.PELT(cost='l2', penalty='bic', min_size=None, jump=1, cost_params=None)[source]#

Bases: BaseSegmenter

Pruned Exact Linear Time search (Killick et al., 2012): minimizes \(\sum_i cost(S_i)+\beta\,(c-1)\) exactly, pruning candidates that can never be optimal.

Parameters:
penaltyfloat or “bic”

Penalty \(\beta\) per change point.

Examples using mvtsa.segmentation.PELT#

Costs and search strategies

Costs and search strategies

Consensus of segmentations

Consensus of segmentations

Segmentation of a data stream

Segmentation of a data stream