You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there is an error in the documentation for the function dtaidistance.dtw_ndim.distance.
The current documentation states:
Assumes the first dimension to be the sequence item index, and the second dimension to be the series index (thus timestep).
However, in the example for independent DTW the loop calculates dtw between the dimensions individually: s1[:, dim] and s2[:, dim], where the first dimension represents the timesteps. Because of this, I'm a bit confused about the shape of the input arrays.
Additionally, the example code for independent DTW does not work as written:
Hi,
I believe there is an error in the documentation for the function
dtaidistance.dtw_ndim.distance
.The current documentation states:
However, in the example for independent DTW the loop calculates dtw between the dimensions individually: s1[:, dim] and s2[:, dim], where the first dimension represents the timesteps. Because of this, I'm a bit confused about the shape of the input arrays.
Additionally, the example code for independent DTW does not work as written:
I believe it should be:
Thank you for looking into this!
The text was updated successfully, but these errors were encountered: