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.
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.