From 32c17b6abf0ae11b8661f5417261040174e760b9 Mon Sep 17 00:00:00 2001 From: Aras Yurtman <47949469+aras-y@users.noreply.github.com> Date: Fri, 26 Jan 2024 16:30:07 +0100 Subject: [PATCH] correct the default cost for multivariate time series in the dosctring --- dtaidistance/dtw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtaidistance/dtw.py b/dtaidistance/dtw.py index 198ccfc..03a2034 100644 --- a/dtaidistance/dtw.py +++ b/dtaidistance/dtw.py @@ -414,7 +414,7 @@ def warping_paths(s1, s2, window=None, max_dist=None, use_pruning=False, :param psi_neg: Replace values that should be skipped because of psi-relaxation with -1. :param use_c: Use the C implementation instead of Python :param use_ndim: The input series is >1 dimensions. - Use cost = EuclideanDistance(s1[i], s2[j]) + Use cost = SquaredEuclideanDistance(s1[i], s2[j]) :param inner_dist: Distance between two points in the time series. One of 'squared euclidean' (default), 'euclidean' :returns: (DTW distance, DTW matrix)