Click or drag to resize

DistanceAverageLinkage Method

Computes the average linkage between the specified clusters.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public static double AverageLinkage(
	DoubleMatrix left,
	DoubleMatrix right
)

Parameters

left
Type: Novacta.AnalyticsDoubleMatrix
The left cluster.
right
Type: Novacta.AnalyticsDoubleMatrix
The right cluster.

Return Value

Type: Double
The average linkage between the specified clusters.
Exceptions
ExceptionCondition
ArgumentNullExceptionleft is null.
-or-
right is null.
ArgumentExceptionright has not the same NumberOfColumns of left.
Remarks

A cluster is defined as a set of multidimensional points. The rows of left or right are interpreted as the multidimensional points in the cluster.

This method returns the average Euclidean distance between pairs of individuals in which one belongs to cluster left, the other to cluster right.

See Also