The data should not be transformed into derivatives and the ddtw and wddtw distances from the distance module should be used directly like the other distances.
Describe alternatives you've considered, if relevant
its worth a look, but irrc this is intentional to avoid doing the difference operation multiple times especially when cross validating. I will take another look though
Describe the feature or idea you want to propose
When
ddtw
orwddtw
distance measures are used, the derivative of X is calculated and then used withdtw
orwdtw
. This need not be done asddtw
andwddtw
themselves calculate the derivatives of the time series. https://github.com/aeon-toolkit/aeon/blob/v0.9.0/aeon/classification/distance_based/_elastic_ensemble.py#L159Describe your proposed solution
The data should not be transformed into derivatives and the
ddtw
andwddtw
distances from the distance module should be used directly like the other distances.Describe alternatives you've considered, if relevant
No response
Additional context
No response