fuzzyclust.relational.plot_dtw_alignment#
- fuzzyclust.relational.plot_dtw_alignment(x, y, window=None, ax=None, offset=None, every=1, colors=None)[source]#
Two series with the dynamic-time-warping correspondences between them.
The second series is drawn shifted downwards by
offsetand everyevery-th pair of the optimal warping path is connected by a gray line, so that stretched and compressed stretches are visible.- Parameters:
- x, yarray_like
ofshape(length,) Univariate series.
- window
int,floatorNone, default=None Sakoe–Chiba band passed to
dtw_alignment().- ax
matplotlibAxes,optional - offset
float,optional Vertical shift of the second series (default: 1.5 times the range).
- every
int, default=1 Draw every
every-th correspondence.- colors
pairofcolors,optional
- x, yarray_like
- Returns:
- ax
matplotlibAxes
- ax
Examples using fuzzyclust.relational.plot_dtw_alignment#
Fuzzy c-medoids on dynamic-time-warping dissimilarities of time series
Fuzzy c-medoids on dynamic-time-warping dissimilarities of time series