Skip to content

Using TimeSeriesKMeans with a faster DTW approach #6301

Answered by fkiraly
nils-fl asked this question in Q&A
Discussion options

You must be logged in to vote

Some recommendations, these go in different directions:

  • there are two implementations of k-means in sktime, the native one (TimeSeriesKMeans), and the one from tslearn, (TimeSeriesKMeansTslearn) - have you tried both, for runtime?
  • neither of these is currently supporting custom distances. I would suggest, open a feature request issue requesting both, on sktime. And, open an issue requesting the feature on tslearn, for the class that sktime interfaces from there.
  • Further, using dtaidistance for any distance-based estimator in sktime would optimally add this as a pairwise (distance) transformation, using the respective extension template. I would also recommend to open a feature request is…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@astrogilda
Comment options

@fkiraly
Comment options

@nils-fl
Comment options

@fkiraly
Comment options

Answer selected by nils-fl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
feature request New feature or request module:clustering clustering module: time series clustering module:distances&kernels dists_kernels and distances modules: time series distances, kernels, pairwise transforms module:alignment alignment module: time series alignment, sequence alignment
3 participants