Closed mutex86 closed 5 years ago
compare result with fastdtw(https://github.com/slaypni/fastdtw):
from scipy.spatial.distance import euclidean from fastdtw import dtw
x = np.array([[1,1], [2,2], [3,3], [4,4], [5,5]]) y = np.array([[2,2], [3,3], [4,4]]) distance, path = dtw(x, y, dist=euclidean)
The function _accelerateddtw may have same problem.
Thx!
compare result with fastdtw(https://github.com/slaypni/fastdtw):
from scipy.spatial.distance import euclidean from fastdtw import dtw
x = np.array([[1,1], [2,2], [3,3], [4,4], [5,5]]) y = np.array([[2,2], [3,3], [4,4]]) distance, path = dtw(x, y, dist=euclidean)
The function _accelerateddtw may have same problem.