Computes the Soft-DTW distance matrix between functional data objects. Soft-DTW is a differentiable relaxation of DTW that uses a smoothing parameter gamma to control the softness of the minimum operation.
Arguments
- fdataobj
An object of class 'fdata'.
- fdataref
An object of class 'fdata'. If NULL, computes self-distances.
- gamma
Smoothing parameter (> 0). Smaller values approximate hard DTW. Default is 1.0.
- divergence
Logical. If TRUE, computes the Soft-DTW divergence (non-negative, zero for identical series) instead of raw Soft-DTW distance. Default is FALSE.
- ...
Additional arguments (ignored).