tslearn.clustering

The tslearn.clustering module gathers time series specific clustering algorithms.

User guide: See the Clustering section for further
details.

Classes

KernelKMeans([n_clusters, kernel, max_iter, …]) Kernel K-means.
KShape([n_clusters, max_iter, tol, n_init, …]) KShape clustering for time series.
TimeSeriesKMeans([n_clusters, max_iter, …]) K-means clustering for time-series data.

Functions

silhouette_score(X, labels[, metric, …]) Compute the mean Silhouette Coefficient of all samples (cf.