mvtsa.warping.soft_dtw_divergence#

mvtsa.warping.soft_dtw_divergence(x, y, gamma=1.0)[source]#

Soft-DTW divergence \(\mathrm{dtw}_\gamma(x,y)-\tfrac12 (\mathrm{dtw}_\gamma(x,x)+\mathrm{dtw}_\gamma(y,y))\ge0\), zero iff \(x=y\) (Blondel et al., 2021).

Examples using mvtsa.warping.soft_dtw_divergence#

Soft-DTW: a differentiable alignment and its uncertainty

Soft-DTW: a differentiable alignment and its uncertainty