Thanks for this great library @langholz !
I noticed that when computing the DTW distance you are simply returning the last cell in the distance matrix: https://github.com/langholz/dtw/blob/master/lib/dtw.js#L148
From how I understand DTW, the distance is actually the sum of the most optimal path in the distance matrix (i.e. a greedy search). Therefore shouldn't you return this sum instead?
Thanks for this great library @langholz !
I noticed that when computing the DTW distance you are simply returning the last cell in the distance matrix: https://github.com/langholz/dtw/blob/master/lib/dtw.js#L148
From how I understand DTW, the distance is actually the sum of the most optimal path in the distance matrix (i.e. a greedy search). Therefore shouldn't you return this sum instead?