mvtsa.warping.gak#

mvtsa.warping.gak(x, y, sigma=None, triangular=0, normalize=True, log=False)[source]#

Global alignment kernel with a Gaussian local kernel.

sigma defaults to the bandwidth heuristic of Cuturi (2011), \(\sigma=\text{median distance}\sqrt{\text{median length}}\); triangular > 0 restricts the alignments to a band (triangular kernel weights). With normalize the kernel is divided by the geometric mean of the self-similarities (values in (0, 1]).