Quantcast
Channel: Efficient pairwise DTW calculation using numpy or cython - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Felipe Mello for Efficient pairwise DTW calculation using numpy or...

To be honest, fastdtw is not fast at allfrom cdtw import pydtwfrom dtaidistance import dtwfrom fastdtw import fastdtwfrom scipy.spatial.distance import...

View Article


Answer by ead for Efficient pairwise DTW calculation using numpy or cython

TL;DRYour fastdtw falled to install the fast cpp-version and falls back silently to a pure-python version, which is slow.You need to fix the installation of the fastdtw-package.The whole calculation is...

View Article

Efficient pairwise DTW calculation using numpy or cython

I am trying to calculate the pairwise distances between multiple time-series contained in a numpy array. Please see the code belowprint(type(sales))print(sales.shape)<class 'numpy.ndarray'>(687,...

View Article
Browsing all 3 articles
Browse latest View live