dtw icon indicating copy to clipboard operation
dtw copied to clipboard

Vectorized implementation

Open MatthieuBizien opened this issue 4 years ago • 2 comments

StackOverflow just reminded me of my old post, where I made your implementation of dtw 435 times faster. I have no use of it now (the Kaggle competition has ended years ago), but maybe others could use it.

The solution is very simple, just removing the for loops :) It would however needs some adaptation as your code have changed since.

MatthieuBizien avatar Feb 04 '21 20:02 MatthieuBizien

Thanks, indeed this could really save some CPU time :) I'l try to integrate it when I have some free time!

pierre-rouanet avatar Feb 05 '21 10:02 pierre-rouanet

Could you elaborate a little more on this? For instance, which part of the codes should I change?

junhyeokahn avatar Oct 10 '21 19:10 junhyeokahn