aeon-toolkit / aeon

A toolkit for machine learning from time series
https://aeon-toolkit.org/
BSD 3-Clause "New" or "Revised" License
882 stars 93 forks source link

[ENH] Add KDTW kernel to be used with kernelKmeans algorithm for time series clustering #1728

Open boujida-h opened 5 days ago

boujida-h commented 5 days ago

Describe the feature or idea you want to propose

The algorithm TimeSeriesKernelKMeans in the API reference for clustering does not take KDTW**, A Regularized Dynamic Time Warping Kernel, as a kernel.

** : https://github.com/pfmarteau/KDTW/tree/master

Describe your proposed solution

Integrate the KDTW given above in https://www.aeon-toolkit.org/en/stable/api_reference/auto_generated/aeon.clustering.TimeSeriesKernelKMeans.html#aeon.clustering.TimeSeriesKernelKMeans

The kernelKmeans algorithm must use the KDTW as a kernel.

TonyBagnall commented 3 days ago

great idea, @chrisholder is on it