etna.clustering.ClusteringLinkageMode#

class ClusteringLinkageMode(value)[source]#

Bases: str, Enum

Modes allowed for clustering distance computation.

Attributes

ward

Minimize the variance of the clusters being merged.

complete

Use the maximum distances between all observations of the two sets.

average

Use the average of the distances of each observation of the two sets.

single

Use the minimum of the distances between all observations of the two sets

average = 'average'[source]#

Use the average of the distances of each observation of the two sets.

complete = 'complete'[source]#

Use the maximum distances between all observations of the two sets.

single = 'single'[source]#

Use the minimum of the distances between all observations of the two sets

ward = 'ward'[source]#

Minimize the variance of the clusters being merged.