Menu

Benchmark multi-model/multi-view models.

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.

mmbench.clustering.ts_clustering(X, max_clusters=10, area=None)[source]ΒΆ

Time series clustering.

Parameters

X : array (N, t)

the input time series.

max_clusters : int, default 10

the maximum number of clusters.

area : array (N, ), default None

if set, use the area and start-end of each time serie.

Returns

labels : array (N, )

the generated labels.

n_cluster : int

the number of clusters.

scores : array (max_clusters, )

the model selection scores.

Follow us

© 2023, mmbench developers