mvtsa.warping.tightness_of_warping#

mvtsa.warping.tightness_of_warping(collection, path_fn, pairs='all', max_pairs=None, random_state=None)[source]#

Tightness of warping (ToW) of a data set under one local dissimilarity.

Parameters:
collectioncollection of series, or of anything path_fn accepts
path_fncallable()

path_fn(a, b) -> path returning the (L, 2) warping path of two items (e.g. lambda a, b: dtw_path(a, b).path or CBDTW(...).path); the path refers to the elements compared (samples or segments).

pairs“all” or list of (i, j)
max_pairsint, optional

Random subset of the pairs.

Examples using mvtsa.warping.tightness_of_warping#

Piecewise linear warping: MPLA, SPLA and MDPLA

Piecewise linear warping: MPLA, SPLA and MDPLA