aeon icon indicating copy to clipboard operation
aeon copied to clipboard

[ENH] Code improvement in `ElasticEnsemble` classifier

Open itsdivya1309 opened this issue 8 months ago • 1 comments

Describe the feature or idea you want to propose

When ddtw or wddtw distance measures are used, the derivative of X is calculated and then used with dtw or wdtw. This need not be done as ddtw and wddtw 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#L159

Describe your proposed solution

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

No response

Additional context

No response

itsdivya1309 avatar Jun 25 '24 04:06 itsdivya1309