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:
- collection
collectionofseries,orofanythingpath_fnaccepts - path_fn
callable() path_fn(a, b) -> pathreturning the(L, 2)warping path of two items (e.g.lambda a, b: dtw_path(a, b).pathorCBDTW(...).path); the path refers to the elements compared (samples or segments).- pairs“all” or
listof(i,j) - max_pairs
int,optional Random subset of the pairs.
- collection