Clustering#

Module for clustering utilities.

API details#

Base classes:

Distance([trim_series, inf_value])

Base class for distances between series.

Clustering()

Base class for ETNA clustering algorithms.

HierarchicalClustering(distance)

Base class for hierarchical clustering.

Enums:

ClusteringLinkageMode(value)

Modes allowed for clustering distance computation.

Clustering methods:

DTWClustering()

Hierarchical clustering with DTW distance.

EuclideanClustering()

Hierarchical clustering with euclidean distance.

Distances:

DTWDistance(points_distance, float], ...)

DTW distance handler.

EuclideanDistance([trim_series])

Euclidean distance handler.

Distance matrix:

DistanceMatrix(distance)

DistanceMatrix computes distance matrix from TSDataset.