E

HierarchicalClusteringLinkage

Provides specifiers to define how the distance between clusters is determined.

Remarks

The linkage criterion has a direct effect on the dissimilarity value, which represents how close two clusters are for the clustering.

Members

No filters for this type

Constants

A specifier for average-linkage (or mean-linkage) clustering.
The distance between two clusters is the average distance between each pair of nodes.
static
A specifier for complete-linkage (or maximum-linkage) clustering.
The distance between two clusters is determined by the maximum distance. Clusters are thus as close as the pair of nodes that are furthest away from each other.
static
A specifier for single-linkage (or minimum-linkage) clustering.
The distance between two clusters is determined by the minimum distance. Clusters are thus as close as their closest pair of nodes.
static

Static Methods

Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static

Parameters

value: HierarchicalClusteringLinkage
The value to convert to an enum constant.

Return Value

HierarchicalClusteringLinkage
The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
static

Parameters

value: HierarchicalClusteringLinkage
The numeric value of an enum constant.

Return Value

string
The name of the enum constant.

Throws

Exception ({ name: 'Error' })
If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.