Skip to content

Commit

Permalink
Merge pull request #203 from aras-y/patch-1
Browse files Browse the repository at this point in the history
correct the default cost for multivariate time series in the dosctring
  • Loading branch information
wannesm authored Jan 29, 2024
2 parents b0bbf00 + 32c17b6 commit 4b23b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dtaidistance/dtw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4b23b99

Please sign in to comment.