Skip to content

Commit d1b359b

Browse files
Merge pull request #28 from jlc-christie/master
change fast_dtw to accelerated_dtw
2 parents bda7382 + c6eb39f commit d1b359b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dtw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def dtw(x, y, dist, warp=1):
4040
return D1[-1, -1] / sum(D1.shape), C, D1, path
4141

4242

43-
def fastdtw(x, y, dist, warp=1):
43+
def accelerated_dtw(x, y, dist, warp=1):
4444
"""
4545
Computes Dynamic Time Warping (DTW) of two sequences in a faster way.
4646
Instead of iterating through each element and calculating each distance,

0 commit comments

Comments
 (0)