wannesm/dtaidistance

using dtw_ndim.distance() for a list of 2 dimensional trajectories

miladad8 opened this issue · 0 comments

Hi, i have a list of trajectories in which every trajectory is 2D and i want to measure similarity between one to other ones. i used the following code but it takes too much time. is there any faster way ? i just need the similarity values.

dist=[] from dtaidistance import dtw_ndim for i in range(0, len(trajs)): ds = dtw_ndim.distance(trajs[-1],trajs[i]) dist.append(ds) dist