tslearn.clustering

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

Classes

GlobalAlignmentKernelKMeans([n_clusters, …]) Global Alignment 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.

Exceptions

EmptyClusterError([message])