Time series clustering#

The sktime.clustering module contains algorithms for time series clustering.

All clusterers in sktime can be listed using the sktime.registry.all_estimators utility, using estimator_types="clusterer", optionally filtered by tags. Valid tags can be listed using sktime.registry.all_tags.

Clustering models#

TimeSeriesKMeans(n_clusters, init_algorithm, …)

Time series K-mean implementation.

TimeSeriesKMedoids(n_clusters, …)

Time series K-medoids implementation.

TimeSeriesKShapes(n_clusters, …)

Kshape algorithm wrapper tslearns implementation.

TimeSeriesKernelKMeans(n_clusters, kernel, …)

Kernel algorithm wrapper tslearns implementation.

Base#

BaseClusterer(n_clusters)

Abstract base class for time series clusterer.

TimeSeriesLloyds(n_clusters, init_algorithm, …)

Abstact class that implements time series Lloyds algorithm.